Job clients, printer and describer

This commit is contained in:
Maciej Szulik
2015-08-21 16:23:12 +02:00
parent c9570e34d0
commit 1b46bc010a
9 changed files with 420 additions and 3 deletions

View File

@@ -36,6 +36,7 @@ type ExperimentalInterface interface {
ScaleNamespacer
DaemonSetsNamespacer
DeploymentsNamespacer
JobsNamespacer
}
// ExperimentalClient is used to interact with experimental Kubernetes features.
@@ -90,6 +91,10 @@ func (c *ExperimentalClient) Deployments(namespace string) DeploymentInterface {
return newDeployments(c, namespace)
}
func (c *ExperimentalClient) Jobs(namespace string) JobInterface {
return newJobs(c, namespace)
}
// NewExperimental creates a new ExperimentalClient for the given config. This client
// provides access to experimental Kubernetes features.
// Experimental features are not supported and may be changed or removed in