Commit Graph

69 Commits (a6a3ed210c982ddbf1c61c7c2e7225d509af7f61)

Author SHA1 Message Date
Eric Chiang 7bdf4a36d5 pkg/client/unversioned: add rbac client 2016-05-25 14:25:01 -07:00
Matt Liggett f5e8d41431 Finish implementing policy API.
Registry implementation and addition to the master.
2016-05-13 17:27:58 -07:00
Wojciech Tyczynski b4c83022e3 Add NegotiatedSerializer to config 2016-05-04 10:02:58 +02:00
k8s-merge-robot f4beccf000 Merge pull request #23066 from cjcullen/clientplugin
Automatic merge from submit-queue

Client auth provider plugin framework

Allows client plugins to modify the underlying transport to, for example, add custom authorization headers.
2016-04-21 17:30:28 -07:00
Prashanth Balasubramanian 0ac10c6cc2 PetSet type, apps apigroup 2016-04-20 18:49:31 -07:00
CJ Cullen 03f9b5adc0 Add client auth plugin framework for kubectl with GCP auth plugin. 2016-04-14 17:49:16 -07:00
Jeff Grafton fb663f2cd5 Include Go version, platform, and other build info in version string
Additionally update MatchesServerVersion to only check GitVersion,
GitCommit, and GitTreeState.
2016-03-14 13:55:28 -07:00
Kris dbde4fd798 Move the discovery client to its own package 2016-03-04 13:44:52 -08:00
Abhi Shah b25a48d605 Revert "Move discovery client to its own package" 2016-03-04 09:24:54 -08:00
Kris f22664159e Move the discovery client to its own package 2016-02-29 15:37:21 -08:00
Kris e664ef922f Move restclient to its own package 2016-02-29 12:05:13 -08:00
Eric Tune 175addf2a3 Implemented Batch client 2016-02-19 09:20:56 -08:00
Piotr Szczesniak d2f11521cb Implemented Autoscaling client 2016-02-15 21:39:00 +01:00
k8s-merge-robot 2746b5e43d Merge pull request #20320 from caesarxuchao/add-discovery
Auto commit by PR queue bot
2016-02-01 14:35:27 -08:00
Chao Xu c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
k8s-merge-robot f915ca55d0 Merge pull request #20095 from liggitt/load_tls_files
Auto commit by PR queue bot
2016-01-30 20:25:33 -08:00
Chao Xu dd357ed86a include DiscoveryClient in the generated clientset 2016-01-29 11:03:03 -08:00
Clayton Coleman 38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
Jordan Liggitt 669be92ca5 Restore LoadTLSFiles to client.Config 2016-01-25 12:48:35 -05:00
Clayton Coleman efe88e0818 Update client library to react to changes in Decoding 2016-01-22 13:27:24 -05:00
nikhiljindal 2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
k8s-merge-robot 03ecde1277 Merge pull request #17535 from mesosphere/jdef_abspath_breaks_proxies
Auto commit by PR queue bot
2016-01-20 21:46:47 -08:00
James DeFelice 75f487f7bf AbsPath should be compatible with proxy-prefixes:
- replace Config.Prefix with .Host and .APIPath
- Request .path promoted to .pathPrefix, .baseURL holds required prefix
2016-01-20 00:31:58 +00:00
Chao Xu 144b5acd08 move ServerVersion to DiscoveryClient 2016-01-13 10:11:52 -08:00
Chao Xu f2edba3bec remove ServerAPIVersions from client
hard-code the groupVersion in SetKubernetesDefaults
2015-12-16 16:24:55 -08:00
deads2k d0aaf13920 use constants for group names 2015-12-14 10:04:10 -05:00
deads2k ec87d74ecb update InterfacesFor to use GroupVersion 2015-12-11 13:45:41 -05:00
k8s-merge-robot 85789f319f Merge pull request #18103 from deads2k/gv-remove-groupmetaVersion
Auto commit by PR queue bot
2015-12-08 23:31:52 -08:00
deads2k 0fd17b7b2e update client.Request for GroupVersion 2015-12-03 08:16:41 -05:00
deads2k 675d8a235e remove Versions from GroupMeta 2015-12-02 16:16:36 -05:00
gmarek 459131fd92 Use KubeletPort reported in NodeStatus instead of cluster-wide master config, take 2. 2015-12-02 13:38:17 +01:00
k8s-merge-robot a836b1e261 Merge pull request #17326 from caesarxuchao/grooupVersion-lastest
Auto commit by PR queue bot
2015-12-01 05:05:40 -08:00
Wojciech Tyczynski cdded4f011 Use VersionedParams in "extensions" client. 2015-12-01 10:18:55 +01:00
Chao Xu 6e192760e3 refactoring latest.go GroupVersion;
clean up latest.go GroupVersions;
remove latest.GroupMeta.Group;
remove latest.GroupMeta.Version.
2015-11-30 11:30:21 -08:00
Wojciech Tyczynski b6ef62af24 Use unversioned.ListOptions in clients. 2015-11-24 16:52:09 +01:00
deads2k a87d927588 update client.Config to use GroupVersion 2015-11-21 08:29:26 -05:00
Kris 9b75b88d4e Move client's tranport to a separate package 2015-11-19 14:55:47 -08:00
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