mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 23:17:50 +00:00
Fixes the experimental api, which appeared to be completely broken.
Fix for rebase with nikhiljindal/deploymentController
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user