Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProviderCredentialsToSecret ¶
func ProviderCredentialsToSecret(namespace string, credentials *VSphereVMProviderCredentials, vcCredsSecretName string) *corev1.Secret
ProviderCredentialsToSecret returns the Secret for the credentials. Testing only.
Types ¶
type VSphereVMProviderCredentials ¶
VSphereVMProviderCredentials wraps the data needed to login to vCenter.
func GetProviderCredentials ¶
func GetProviderCredentials(client ctrlruntime.Client, namespace, secretName string) (*VSphereVMProviderCredentials, error)
Click to show internal directories.
Click to hide internal directories.