Commit Graph

82 Commits

Author SHA1 Message Date
deads2k
81ae13084d handle non-generated client removal 2016-10-26 16:10:41 -04:00
deads2k
cd5b6cc491 move StorageClass to its own group 2016-09-06 08:41:17 -04:00
deads2k
32920b5617 add subjectaccessreviews resource 2016-08-05 11:20:56 -04:00
deads2k
60dd4a5d26 interesting changes to add tokenreviews endpoint to implement webhook 2016-08-03 08:37:45 -04:00
Maciej Szulik
1e496fd8ce Create client from API version passed in config or use default
When creating a client read the GroupVersion value passed in the
restclient.Config. If the passed GroupVersion does not match current
group or is not enabled fallback to default GroupVersion for that group.
2016-07-26 11:54:25 +02:00
Wojciech Tyczynski
4d0d115690 Revert "add tokenreviews endpoint to implement webhook" 2016-07-21 09:40:35 +02:00
deads2k
2c4a9f2e8d interesting changes to add tokenreviews endpoint to implement webhook 2016-07-20 15:11:56 -04:00
Wojciech Tyczynski
7403564366 Remove Codec from ContentConfig. 2016-07-08 13:53:09 +02:00
k8s-merge-robot
8562021366 Merge pull request #28254 from grodrigues3/Fix-TreeStateVersion-Check
Automatic merge from submit-queue

fixed the typo causing incorrect comparison with cVer and cVer; now checking against sVer

fixes #25252
2016-06-30 23:54:41 -07:00
David McMahon
ef0c9f0c5b Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
Garrett Rodrigues
2cce015167 fixed the typo causing incorrect comparison with cVer and cVer; now checking against sVer 2016-06-29 17:39:41 -07:00
George Tankersley
b084d202bb client/unversioned: add certificates client 2016-06-27 14:29:16 -07:00
enj
6e6b825097 Use preferred group version when discovery fails due to 403 2016-06-17 22:27:43 -04:00
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