Documentation ¶
Index ¶
- Constants
- func Contains(list []string, strToSearch string) bool
- func Copy(m *clusterv1.Machine) *clusterv1.Machine
- func ExecCommand(name string, args ...string) string
- func Filter(list []string, strToFilter string) (newList []string)
- func GetCurrentMachineIfExists(machineClient client.MachineInterface, machine *clusterv1.Machine) (*clusterv1.Machine, error)
- func GetDefaultKubeConfigPath() string
- func GetMachineIfExists(machineClient client.MachineInterface, name string, uid types.UID) (*clusterv1.Machine, error)
- func GetMaster(machines []*clusterv1.Machine) *clusterv1.Machine
- func Home() string
- func IsMaster(machine *clusterv1.Machine) bool
- func IsNodeReady(node *v1.Node) bool
- func MachineP(machines []clusterv1.Machine) []*clusterv1.Machine
- func NewClientSet(configPath string) (*clientset.Clientset, error)
- func RandomString(n int) string
- func RandomToken() string
- func RoleContains(a clustercommon.MachineRole, list []clustercommon.MachineRole) bool
Constants ¶
View Source
const (
CharSet = "0123456789abcdefghijklmnopqrstuvwxyz"
)
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
func GetDefaultKubeConfigPath ¶
func GetDefaultKubeConfigPath() string
func GetMachineIfExists ¶
func IsNodeReady ¶
func RandomString ¶
func RandomToken ¶
func RandomToken() string
func RoleContains ¶
func RoleContains(a clustercommon.MachineRole, list []clustercommon.MachineRole) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.