Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddonsClient ¶ added in v1.19.0
type AddonsClient interface { // Replace replaces all the addon objects with the provided list Replace(objects kubemanifest.ObjectList) error // List returns all the addon objects List(ctx context.Context) (kubemanifest.ObjectList, error) }
AddonsClient is a client for manipulating cluster addons Because we want to support storing these directly in a cluster, we don't group them
type Clientset ¶
type Clientset interface { // GetCluster reads a cluster by name GetCluster(ctx context.Context, name string) (*kops.Cluster, error) // CreateCluster creates a cluster CreateCluster(ctx context.Context, cluster *kops.Cluster) (*kops.Cluster, error) // UpdateCluster updates a cluster UpdateCluster(ctx context.Context, cluster *kops.Cluster, status *kops.ClusterStatus) (*kops.Cluster, error) // ListClusters returns all clusters ListClusters(ctx context.Context, options metav1.ListOptions) (*kops.ClusterList, error) // ConfigBaseFor returns the vfs path where we will read configuration information from ConfigBaseFor(cluster *kops.Cluster) (vfs.Path, error) // InstanceGroupsFor returns the InstanceGroupInterface bound to the namespace for a particular Cluster InstanceGroupsFor(cluster *kops.Cluster) kopsinternalversion.InstanceGroupInterface // AddonsFor returns the client for addon objects for a particular Cluster AddonsFor(cluster *kops.Cluster) AddonsClient // SecretStore builds the secret store for the specified cluster SecretStore(cluster *kops.Cluster) (fi.SecretStore, error) // KeyStore builds the key store for the specified cluster KeyStore(cluster *kops.Cluster) (fi.CAStore, error) // SSHCredentialStore builds the SSHCredential store for the specified cluster SSHCredentialStore(cluster *kops.Cluster) (fi.SSHCredentialStore, error) // DeleteCluster deletes all the state for the specified cluster DeleteCluster(ctx context.Context, cluster *kops.Cluster) error }
Click to show internal directories.
Click to hide internal directories.