Versions in this module Expand all Collapse all v0 v0.1.4 Jun 27, 2019 Changes in this version + const TimeoutMachineReady + func ExtractControlPlaneMachines(machines []*clusterv1.Machine) ([]*clusterv1.Machine, []*clusterv1.Machine, error) + func GetClusterAPIObject(client Client, clusterName, namespace string) (*clusterv1.Cluster, *clusterv1.Machine, []*clusterv1.Machine, error) + func New(kubeconfig string) (*client, error) + func NewFactory() *clientFactory + func NewFromDefaultSearchPath(kubeconfigFile string, overrides tcmd.ConfigOverrides) (*client, error) + type Client interface + Apply func(string) error + Close func() error + CreateClusterObject func(*clusterv1.Cluster) error + CreateMachineClass func(*clusterv1.MachineClass) error + CreateMachineDeployments func([]*clusterv1.MachineDeployment, string) error + CreateMachineSets func([]*clusterv1.MachineSet, string) error + CreateMachines func([]*clusterv1.Machine, string) error + Delete func(string) error + DeleteClusters func(string) error + DeleteMachineClass func(namespace, name string) error + DeleteMachineClasses func(string) error + DeleteMachineDeployments func(string) error + DeleteMachineSets func(string) error + DeleteMachines func(string) error + DeleteNamespace func(string) error + EnsureNamespace func(string) error + ForceDeleteCluster func(namespace, name string) error + ForceDeleteMachine func(namespace, name string) error + ForceDeleteMachineDeployment func(namespace, name string) error + ForceDeleteMachineSet func(namespace, name string) error + GetCluster func(string, string) (*clusterv1.Cluster, error) + GetClusters func(string) ([]*clusterv1.Cluster, error) + GetContextNamespace func() string + GetMachineClasses func(namespace string) ([]*clusterv1.MachineClass, error) + GetMachineDeployment func(namespace, name string) (*clusterv1.MachineDeployment, error) + GetMachineDeployments func(string) ([]*clusterv1.MachineDeployment, error) + GetMachineDeploymentsForCluster func(*clusterv1.Cluster) ([]*clusterv1.MachineDeployment, error) + GetMachineSet func(namespace, name string) (*clusterv1.MachineSet, error) + GetMachineSets func(namespace string) ([]*clusterv1.MachineSet, error) + GetMachineSetsForCluster func(*clusterv1.Cluster) ([]*clusterv1.MachineSet, error) + GetMachineSetsForMachineDeployment func(*clusterv1.MachineDeployment) ([]*clusterv1.MachineSet, error) + GetMachines func(namespace string) ([]*clusterv1.Machine, error) + GetMachinesForCluster func(*clusterv1.Cluster) ([]*clusterv1.Machine, error) + GetMachinesForMachineSet func(*clusterv1.MachineSet) ([]*clusterv1.Machine, error) + ScaleStatefulSet func(namespace, name string, scale int32) error + UpdateClusterObjectEndpoint func(string, string, string) error + WaitForClusterV1alpha1Ready func() error + WaitForResourceStatuses func() error + type Factory interface + NewClientFromKubeconfig func(string) (Client, error) + NewCoreClientsetFromKubeconfigFile func(string) (*kubernetes.Clientset, error)