Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloudProvider ¶
type CloudProvider interface { ID() string IsSetup() bool Setup() error GetComponents() []components.ComponentInstaller }
type ClusterConfigGenerator ¶
type ClusterConfigGenerator interface { CreateClusterConfig() (cc *v1alpha1.ClusterConfig, err error) CreateNodepoolConfig(cc *v1alpha1.ClusterConfig) (np *v1alpha1.Nodepool, err error) }
type ClusterManager ¶
type ClusterManager interface { Cloud() string Region() string CheckCreatePermissions() error CheckDestroyPermissions() error // Cluster CreateCluster(cc *v1alpha1.ClusterConfig) error CreateNodepool(cc *v1alpha1.ClusterConfig, np *v1alpha1.Nodepool) error ActivateCluster(cc *v1alpha1.ClusterConfig) error DeleteCluster(name string) error DeleteNodepool(cluster string, nodepool string) error // VPC DestroyVPC(vpcId string) error // LinkedServiceAccount SyncLinkedServiceAccount(cluster string, lsa *v1alpha1.LinkedServiceAccount) error DeleteLinkedServiceAccount(cluster string, lsa *v1alpha1.LinkedServiceAccount) error // utils KubernetesProvider() cloud.KubernetesProvider CertificateProvider() cloud.CertificateProvider VPCProvider() cloud.VPCProvider }
Click to show internal directories.
Click to hide internal directories.