Documentation ¶
Index ¶
- func Contains(a string, list []string) bool
- func Copy(m *clusterv1.Machine) *clusterv1.Machine
- func ExecCommand(name string, args ...string) string
- func GetDefaultKubeConfigPath() string
- func Home() string
- func IsMaster(machine *clusterv1.Machine) bool
- func IsNodeReady(node *v1.Node) bool
- func NewApiClient(configPath string) (*client.ClusterAPIV1Alpha1Client, error)
- func NewKubernetesClient(configPath string) (*kubernetes.Clientset, error)
- func RoleContains(a clusterv1.MachineRole, list []clusterv1.MachineRole) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
func GetDefaultKubeConfigPath ¶
func GetDefaultKubeConfigPath() string
func IsNodeReady ¶
func NewApiClient ¶
func NewApiClient(configPath string) (*client.ClusterAPIV1Alpha1Client, error)
func NewKubernetesClient ¶
func NewKubernetesClient(configPath string) (*kubernetes.Clientset, error)
func RoleContains ¶
func RoleContains(a clusterv1.MachineRole, list []clusterv1.MachineRole) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.