Documentation ¶
Index ¶
- func ByteToGiB(n int64) int64
- func CreateTempFile(contents string) (string, error)
- func GetActiveTasks(machine *clusterv1.Machine) string
- func GetClusterProviderSpec(providerSpec clusterv1.ProviderSpec) (*vsphereconfigv1.VsphereClusterProviderConfig, error)
- func GetClusterProviderStatus(cluster *clusterv1.Cluster) (*vsphereconfigv1.VsphereClusterProviderStatus, error)
- func GetIP(_ *clusterv1.Cluster, machine *clusterv1.Machine) (string, error)
- func GetKubeConfig(cluster *clusterv1.Cluster, master *clusterv1.Machine) (string, error)
- func GetMachineProviderSpec(providerSpec clusterv1.ProviderSpec) (*vsphereconfigv1.VsphereMachineProviderConfig, error)
- func GetMachineProviderStatus(machine *clusterv1.Machine) (*vsphereconfigv1.VsphereMachineProviderStatus, error)
- func GetMasterForCluster(cluster *clusterv1.Cluster, lister v1alpha1.Interface) ([]*clusterv1.Machine, error)
- func GetNextBackOff() time.Duration
- func GetSubnet(netRange clusterv1.NetworkRanges) string
- func GetVMId(machine *clusterv1.Machine) (string, error)
- func GiBToByte(n int64) int64
- func IsValidUUID(str string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ByteToGiB ¶
ByteToGiB returns n/1024^3. The input must be an integer that can be appropriately divisible.
func CreateTempFile ¶
func GetActiveTasks ¶
func GetClusterProviderSpec ¶
func GetClusterProviderSpec(providerSpec clusterv1.ProviderSpec) (*vsphereconfigv1.VsphereClusterProviderConfig, error)
func GetClusterProviderStatus ¶
func GetClusterProviderStatus(cluster *clusterv1.Cluster) (*vsphereconfigv1.VsphereClusterProviderStatus, error)
func GetKubeConfig ¶
func GetMachineProviderSpec ¶
func GetMachineProviderSpec(providerSpec clusterv1.ProviderSpec) (*vsphereconfigv1.VsphereMachineProviderConfig, error)
func GetMachineProviderStatus ¶
func GetMachineProviderStatus(machine *clusterv1.Machine) (*vsphereconfigv1.VsphereMachineProviderStatus, error)
func GetMasterForCluster ¶
func GetMasterForCluster(cluster *clusterv1.Cluster, lister v1alpha1.Interface) ([]*clusterv1.Machine, error)
GetMasterForCluster returns the master nodes for the given cluster
func GetNextBackOff ¶
func GetSubnet ¶
func GetSubnet(netRange clusterv1.NetworkRanges) string
Just a temporary hack to grab a single range from the config.
func IsValidUUID ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.