Implement ReplicaSets client.

This commit is contained in:
Madhusudan.C.S
2016-01-15 16:28:11 -08:00
parent 992a85950f
commit c25a0ce00d
8 changed files with 580 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ type ExtensionsInterface interface {
JobsNamespacer
IngressNamespacer
ThirdPartyResourceNamespacer
ReplicaSetsNamespacer
}
// ExtensionsClient is used to interact with experimental Kubernetes features.
@@ -71,6 +72,10 @@ func (c *ExtensionsClient) ThirdPartyResources(namespace string) ThirdPartyResou
return newThirdPartyResources(c, namespace)
}
func (c *ExtensionsClient) ReplicaSets(namespace string) ReplicaSetInterface {
return newReplicaSets(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