Documentation ¶
Index ¶
- func ClusterExists(name string, clientset simple.Clientset) (bool, error)
- func DeleteCluster(name string, clientset simple.Clientset) error
- func GetInstanceGroup(clusterName, name string, clientset simple.Clientset) (*kops.InstanceGroup, error)
- func GetKubeConfig(name string, clientset simple.Clientset) (*kubeconfig.KubeconfigBuilder, error)
- type Cluster
- type InstanceGroup
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetInstanceGroup ¶
func GetKubeConfig ¶
func GetKubeConfig(name string, clientset simple.Clientset) (*kubeconfig.KubeconfigBuilder, error)
Types ¶
type Cluster ¶
type Cluster struct { // The cluster name Name string // The cluster admin ssh key AdminSshKey string kops.ClusterSpec // InstanceGroup defines the list of instance groups making the cluster InstanceGroup []*InstanceGroup // KubeConfig holds the necessary information to connect to the cluster KubeConfig *kube.Config }
Cluster defines the configuration for a cluster It includes cluster instance groups.
type InstanceGroup ¶
type InstanceGroup struct { // Instance group name Name string kops.InstanceGroupSpec }
InstanceGroup represents a group of instances (either nodes or masters) with the same configuration
Click to show internal directories.
Click to hide internal directories.