Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterStatus ¶
type ClusterStatus struct { // ClusterName defines the target cluster name ClusterName string // Exists indicates if the cluster exists Exists bool // IsValid indicates if the cluster is valid IsValid bool // NeedsUpdate indicates if the cluster needs a rolling update NeedsUpdate bool // InstanceGroups contains the name of instance groups to be updated InstanceGroups []string }
ClusterStatus reports status of a cluster
func (*ClusterStatus) GetClusterStatus ¶
func (s *ClusterStatus) GetClusterStatus(clientset simple.Clientset) error
type KubeConfig ¶
type KubeConfig struct { // The cluster name ClusterName string // Admin is the cluster admin user credential lifetime Admin *time.Duration // Internal use the cluster's internal DNS name Internal bool kube.Config }
KubeConfig represents the kubernets configuration needed to access a cluster
func (*KubeConfig) GetKubeConfig ¶
func (s *KubeConfig) GetKubeConfig(clientset simple.Clientset) error
Click to show internal directories.
Click to hide internal directories.