Documentation ¶
Index ¶
- type RESTClientset
- func (c *RESTClientset) AddonsFor(cluster *kops.Cluster) simple.AddonsClient
- func (c *RESTClientset) ConfigBaseFor(cluster *kops.Cluster) (vfs.Path, error)
- func (c *RESTClientset) CreateCluster(ctx context.Context, cluster *kops.Cluster) (*kops.Cluster, error)
- func (c *RESTClientset) DeleteCluster(ctx context.Context, cluster *kops.Cluster) error
- func (c *RESTClientset) GetCluster(ctx context.Context, name string) (*kops.Cluster, error)
- func (c *RESTClientset) InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface
- func (c *RESTClientset) KeyStore(cluster *kops.Cluster) (fi.CAStore, error)
- func (c *RESTClientset) ListClusters(ctx context.Context, options metav1.ListOptions) (*kops.ClusterList, error)
- func (c *RESTClientset) SSHCredentialStore(cluster *kops.Cluster) (fi.SSHCredentialStore, error)
- func (c *RESTClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)
- func (c *RESTClientset) UpdateCluster(ctx context.Context, cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)
- func (c *RESTClientset) VFSContext() *vfs.VFSContext
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 // contains filtered or unexported fields }
RESTClientset is an implementation of clientset that uses a "real" generated REST client
func NewRESTClientset ¶ added in v1.28.0
func NewRESTClientset(vfsContext *vfs.VFSContext, baseURL *url.URL, kopsClient kopsinternalversion.KopsInterface) *RESTClientset
func (*RESTClientset) AddonsFor ¶ added in v1.19.0
func (c *RESTClientset) AddonsFor(cluster *kops.Cluster) simple.AddonsClient
AddonsFor fetches the AddonsClient for the cluster
func (*RESTClientset) ConfigBaseFor ¶
ConfigBaseFor implements the ConfigBaseFor method of Clientset for a kubernetes-API state store
func (*RESTClientset) CreateCluster ¶
func (c *RESTClientset) CreateCluster(ctx context.Context, cluster *kops.Cluster) (*kops.Cluster, error)
CreateCluster implements the CreateCluster method of Clientset for a kubernetes-API state store
func (*RESTClientset) DeleteCluster ¶
func (*RESTClientset) GetCluster ¶
GetCluster implements the GetCluster 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(ctx context.Context, options metav1.ListOptions) (*kops.ClusterList, error)
ListClusters implements the ListClusters method of Clientset for a kubernetes-API state store
func (*RESTClientset) SSHCredentialStore ¶
func (c *RESTClientset) SSHCredentialStore(cluster *kops.Cluster) (fi.SSHCredentialStore, error)
func (*RESTClientset) SecretStore ¶
func (c *RESTClientset) SecretStore(cluster *kops.Cluster) (fi.SecretStore, error)
func (*RESTClientset) UpdateCluster ¶
func (c *RESTClientset) UpdateCluster(ctx context.Context, cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error)
UpdateCluster implements the UpdateCluster method of Clientset for a kubernetes-API state store
func (*RESTClientset) VFSContext ¶ added in v1.28.0
func (c *RESTClientset) VFSContext() *vfs.VFSContext