kubernetes/pkg/client/unversioned
Kubernetes Submit Queue 4d467de5c5 Merge pull request #37708 from juanvallejo/jvallejo/add-restclient-config-helper-for-parsing-global-timeout
Automatic merge from submit-queue (batch tested with PRs 37708, 34410)

Add restclientconfig helper fn for parsing timeout

Related downstream PR: https://github.com/openshift/origin/pull/12062 (example of use-case for this patch)

**Release note**:
```release-note
release-note-none
```

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).

@fabianofranz @kubernetes/cli-review
2016-12-14 15:09:50 -08:00
..
auth autoupdate BUILD files 2016-12-12 13:30:07 -08:00
clientcmd Merge pull request #37708 from juanvallejo/jvallejo/add-restclient-config-helper-for-parsing-global-timeout 2016-12-14 15:09:50 -08:00
portforward autoupdate BUILD files 2016-12-12 13:30:07 -08:00
remotecommand Refactor remotecommand options parsing 2016-12-13 16:09:23 -08:00
testclient/simple autoupdate BUILD files 2016-12-12 13:30:07 -08:00
BUILD autoupdate BUILD files 2016-12-12 13:30:07 -08:00
conditions.go GetOptions in client calls 2016-12-09 09:42:01 +01:00
helper_test.go refactor: update bazel, codec, and gofmt 2016-12-03 19:10:53 -05:00
helper.go handle non-generated client removal 2016-10-26 16:10:41 -04:00