Commit Graph

82 Commits (2d58ffc12977336c79849ad0d97f0e072f000ef7)

Author SHA1 Message Date
Clayton Coleman 2dc2db5d02 Config consumers should be able to recognize an empty config
For UX, it would be better if we presented an error for validation that
is "this config is empty" rather than the inaccurate "no server name" or
"no context name" errors. Returns a typed error.
2015-11-05 15:00:23 -05:00
Chao Xu 69932aecb0 Let discoveryClient use RESTClient;
Ignore 403 and 404 error when discovering server-supported group/version
2015-10-29 09:55:32 -07:00
k8s-merge-robot dbf9a53de9 Merge pull request #15953 from smarterclayton/return_unmodified_error_on_neg
Auto commit by PR queue bot
2015-10-26 08:15:40 -07:00
Clayton Coleman 5b137a64a8 Return errors directly from negotiation
Otherwise we're hiding problems in connectivity
2015-10-24 14:29:02 -04:00
Wojciech Tyczynski f4d75e0a0a Support timeout in watch requests 2015-10-24 13:12:49 +02:00
Chao Xu eb3a80156a let kubectl api-versions use the discovery client 2015-10-22 10:19:34 -07:00
Chao Xu 5859da3e1f add discovery client 2015-10-16 14:20:21 -07:00
Chao Xu c4ee22b5b6 grep sed NewExperimental 2015-10-13 13:22:22 -07:00
Chao Xu 9a812bd0c5 grep sed ExperimentalClient 2015-10-13 13:22:22 -07:00
Chao Xu 7817c2312c fix rebase 2015-10-12 13:48:14 -07:00
k8s-merge-robot 688b7840c5 Merge pull request #14941 from caesarxuchao/fix-ServerAPIVersions
Auto commit by PR queue bot
2015-10-10 10:36:55 -07:00
Chao Xu 80f213c376 "experimental" -> "extensions" 2015-10-09 15:14:03 -07:00
Chao Xu efe7d30a64 address lavalamp's comments 2015-10-07 16:19:22 -07:00
Janet Kuo 57388f9f94 Support kubectl group/resource name 2015-10-06 13:12:32 -07:00
Jordan Liggitt 120e87277a Add bearer token support for kubelet client config 2015-10-05 15:29:10 -04:00
Jordan Liggitt 2a1286c8f2 Add util to set transport defaults 2015-10-02 02:29:46 -04:00
Chao Xu 6dc99b52dd use http.client in ServerAPIVersions 2015-10-01 16:24:04 -07:00
Chao Xu 6a4c477af7 add a ServerAPIVersions function that visits both /api and /apis, and doesn't require a high-level client 2015-10-01 15:00:33 -07:00
Nikhil Jindal 00ab055fa1 Merge pull request #14893 from caesarxuchao/temp-fix-negotiate-version
temporarily disable warning message in NegotiateVersion
2015-09-30 23:13:39 -07:00
Chao Xu dfdbaec577 temporarily disable warning message in NegotiateVersion 2015-09-30 21:41:26 -07:00
eulerzgy 71b96422f4 set capital in some files 2015-09-30 14:46:20 +08:00
liguangbo 4df68f03a3 change iff to if and only if to improve annotation readability 2015-09-16 08:29:36 +00:00
Chao Xu c733124920 address lavalamp's comments 2015-09-11 17:34:32 -07:00
Chao Xu 3dc5223f4f check if experimental is enabled during startup of client and server 2015-09-11 17:34:32 -07:00
Chao Xu 0b6fd8c5c4 fixing tests 2015-09-11 17:33:22 -07:00
Chao Xu 190ca2ebf2 add import_known_versions.go 2015-09-11 17:32:23 -07:00
Chao Xu dd6c121d7f massive changes 2015-09-11 17:31:47 -07:00
tummychow 78ce5da988 Move util.StringSet into its own package
A lot of packages use StringSet, but they don't use anything else from
the util package. Moving StringSet into another package will shrink
their dependency trees significantly.
2015-09-10 12:04:15 -07:00
Timothy St. Clair 2b7e758c3c Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
2015-09-03 21:56:45 -05:00
Paul Morie e9851c6dea Quote malformed host values in unversioned client helper 2015-08-27 17:30:31 -04:00
Ananya Kumar 4a148f99d6 Add client code 2015-08-18 12:58:50 -07:00
Kris Rousey 7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00