Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorMsgUnknownCloudProvider = "missing cloud provider config. Please add AWS or Azure Config" ErrorMsgSecretReference = "error fetching Secret reference" )
Functions ¶
func GetAccountProviderType ¶
func GetAccountProviderType(account *crdv1alpha1.CloudProviderAccount) (runtimev1alpha1.CloudProvider, error)
GetAccountProviderType returns cloud provider type from CPA.
func GetVMIPAddresses ¶
func GetVMIPAddresses(vm *runtimev1alpha1.VirtualMachine) []runtimev1alpha1.IPAddress
GetVMIPAddresses returns IP addresses of all network interfaces attached to the vm.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.