Fixes the experimental api, which appeared to be completely broken.

Fix for rebase with nikhiljindal/deploymentController
This commit is contained in:
Timothy St. Clair
2015-08-31 12:29:18 -04:00
parent c28b68d254
commit 2b7e758c3c
15 changed files with 73 additions and 130 deletions

View File

@@ -46,6 +46,7 @@ type Interface interface {
PersistentVolumesInterface
PersistentVolumeClaimsNamespacer
ComponentStatusesInterface
Experimental() ExperimentalInterface
}
func (c *Client) ReplicationControllers(namespace string) ReplicationControllerInterface {
@@ -122,6 +123,7 @@ type APIStatus interface {
// Client is the implementation of a Kubernetes client.
type Client struct {
*RESTClient
*ExperimentalClient
}
// ServerVersion retrieves and parses the server's version.
@@ -192,3 +194,7 @@ func IsTimeout(err error) bool {
}
return false
}
func (c *Client) Experimental() ExperimentalInterface {
return c.ExperimentalClient
}