Add a client implementation for third party resources

This commit is contained in:
Brendan Burns
2015-12-07 14:15:44 -08:00
parent aaa1fe67f6
commit cee738871e
5 changed files with 375 additions and 0 deletions

View File

@@ -37,6 +37,7 @@ type ExtensionsInterface interface {
DeploymentsNamespacer
JobsNamespacer
IngressNamespacer
ThirdPartyResourceNamespacer
}
// ExtensionsClient is used to interact with experimental Kubernetes features.
@@ -99,6 +100,10 @@ func (c *ExtensionsClient) Ingress(namespace string) IngressInterface {
return newIngress(c, namespace)
}
func (c *ExtensionsClient) ThirdPartyResources(namespace string) ThirdPartyResourceInterface {
return newThirdPartyResources(c, namespace)
}
// NewExtensions creates a new ExtensionsClient for the given config. This client
// provides access to experimental Kubernetes features.
// Features of Extensions group are not supported and may be changed or removed in