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 GetDefaultKubeConfigPath() string
- func GetMachineIfExists(c client.Client, namespace, name string) (*clusterv1.Machine, error)
- func GetMaster(machines []*clusterv1.Machine) *clusterv1.Machine
- func GetNamespaceOrDefault(namespace string) string
- func Home() string
- func IsMaster(machine *clusterv1.Machine) bool
- func IsNodeReady(node *v1.Node) bool
- func MachineP(machines []clusterv1.Machine) []*clusterv1.Machine
- func ParseClusterYaml(file string) (*clusterv1.Cluster, error)
- func ParseMachinesYaml(file string) ([]*clusterv1.Machine, error)
- func Poll(interval, timeout time.Duration, condition wait.ConditionFunc) error
- func PollImmediate(interval, timeout time.Duration, condition wait.ConditionFunc) error
- func RandomString(n int) string
- func RandomToken() string
- func Retry(fn wait.ConditionFunc, initialBackoffSec int) error
Constants ¶
View Source
const (
CharSet = "0123456789abcdefghijklmnopqrstuvwxyz"
)
Variables ¶
This section is empty.
Functions ¶
func ExecCommand ¶
func GetDefaultKubeConfigPath ¶
func GetDefaultKubeConfigPath() string
func GetMachineIfExists ¶
func GetNamespaceOrDefault ¶
func IsNodeReady ¶
func PollImmediate ¶
func PollImmediate(interval, timeout time.Duration, condition wait.ConditionFunc) error
func RandomString ¶
func RandomToken ¶
func RandomToken() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.