• juanvallejo's avatar
    Add restclientconfig helper fn for parsing timeout · 885b7a6d
    juanvallejo authored
    This patch adds a package `pkg/client/unversioned/clientcmd/util` and
    defines a `ParseTimeout` helper function for parsing time from a
    user-defined string. This allows code re-use in other packages that
    require the creation of a new restclient (and therefore must set the
    `--global-timeout` flag value manually).
    885b7a6d
Name
Last commit
Last update
..
auth Loading commit data...
clientcmd Loading commit data...
portforward Loading commit data...
remotecommand Loading commit data...
testclient/simple Loading commit data...
BUILD Loading commit data...
conditions.go Loading commit data...
helper.go Loading commit data...
helper_test.go Loading commit data...