package
0.0.0-20190128191437-9d16c16ede4e
Repository: https://github.com/enxebre/cluster-api.git
Documentation: pkg.go.dev
# Functions
Contains returns true if a list contains a string.
Copy deep copies a Machine object.
ExecCommand Executes a local command in the current shell.
Filter filters a list for a string.
GetControlPlaneMachine returns the control plane machine from a slice.
GetDefaultKubeConfigPath returns the standard user kubeconfig.
GetMachineIfExists gets a machine from the API server if it exists.
GetNamespaceOrDefault returns the default namespace if given empty output.
Home returns the user home directory.
IsControlPlaneMachine checks machine is a control plane node TODO(robertbailey): Remove this function.
IsNodeReady returns true if a node is ready.
MachineP converts a slice of machines into a slice of machine pointers.
ParseClusterYaml parses a YAML file for cluster objects.
ParseMachinesYaml extracts machine objects from a file.
No description provided by the author
No description provided by the author
RandomString returns a random alphanumeric string.
RandomToken returns a random token.
No description provided by the author
# Constants
CharSet defines the alphanumeric set for random string generation.