util

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

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 DoesCesCrExistsForAccount

func DoesCesCrExistsForAccount(k8sClient client.Client, namespacedName *types.NamespacedName) bool

DoesCesCrExistsForAccount returns true if there is a CloudEntitySelector CR for a given account.

func GetAccountProviderType

func GetAccountProviderType(account *crdv1alpha1.CloudProviderAccount) (runtimev1alpha1.CloudProvider, error)

GetAccountProviderType returns cloud provider type from CPA.

func GetVMIPAddresses

GetVMIPAddresses returns IP addresses of all network interfaces attached to the vm.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL