Documentation ¶
Index ¶
- type RESTClientset
- func (c *RESTClientset) ConfigBaseFor(cluster *kops.Cluster) (vfs.Path, error)
- func (c *RESTClientset) CreateCluster(cluster *kops.Cluster) (*kops.Cluster, error)
- func (c *RESTClientset) DeleteCluster(cluster *kops.Cluster) error
- func (c *RESTClientset) FederationsFor(federation *kops.Federation) kopsinternalversion.FederationInterface
- func (c *RESTClientset) GetCluster(name string) (*kops.Cluster, error)
- func (c *RESTClientset) GetFederation(name string) (*kops.Federation, error)
- func (c *RESTClientset) InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface
- func (c *RESTClientset) KeyStore(cluster *kops.Cluster) (fi.CAStore, error)
- func (c *RESTClientset) ListClusters(options metav1.ListOptions) (*kops.ClusterList, error)
- func (c *RESTClientset) ListFederations(options metav1.ListOptions) (*kops.FederationList, error)
- func (c *RESTClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)
- func (c *RESTClientset) UpdateCluster(cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RESTClientset ¶
type RESTClientset struct { BaseURL *url.URL KopsClient kopsinternalversion.KopsInterface }
RESTClientset is an implementation of clientset that uses a "real" generated REST client
func (*RESTClientset) ConfigBaseFor ¶
ConfigBaseFor implements the ConfigBaseFor method of Clientset for a kubernetes-API state store
func (*RESTClientset) CreateCluster ¶
CreateCluster implements the CreateCluster method of Clientset for a kubernetes-API state store
func (*RESTClientset) DeleteCluster ¶
func (c *RESTClientset) DeleteCluster(cluster *kops.Cluster) error
func (*RESTClientset) FederationsFor ¶
func (c *RESTClientset) FederationsFor(federation *kops.Federation) kopsinternalversion.FederationInterface
FederationsFor implements the FederationsFor method of Clientset for a kubernetes-API state store
func (*RESTClientset) GetCluster ¶
func (c *RESTClientset) GetCluster(name string) (*kops.Cluster, error)
GetCluster implements the GetCluster method of Clientset for a kubernetes-API state store
func (*RESTClientset) GetFederation ¶
func (c *RESTClientset) GetFederation(name string) (*kops.Federation, error)
GetFederation implements the GetFederation method of Clientset for a kubernetes-API state store
func (*RESTClientset) InstanceGroupsFor ¶
func (c *RESTClientset) InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface
InstanceGroupsFor implements the InstanceGroupsFor method of Clientset for a kubernetes-API state store
func (*RESTClientset) ListClusters ¶
func (c *RESTClientset) ListClusters(options metav1.ListOptions) (*kops.ClusterList, error)
ListClusters implements the ListClusters method of Clientset for a kubernetes-API state store
func (*RESTClientset) ListFederations ¶
func (c *RESTClientset) ListFederations(options metav1.ListOptions) (*kops.FederationList, error)
ListFederations implements the ListFederations method of Clientset for a kubernetes-API state store
func (*RESTClientset) SecretStore ¶
func (c *RESTClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)
func (*RESTClientset) UpdateCluster ¶
func (c *RESTClientset) UpdateCluster(cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)
UpdateCluster implements the UpdateCluster method of Clientset for a kubernetes-API state store