# Functions
ExtractOptionsFromSecret Returns baseDomain, awsAccessKeyID & awsSecretAccessKey If len(baseDomain) > 0 we override the value found in the secret.
GetClient creates a controller-runtime client for Kubernetes.
GetConfig creates a REST config from current context.
GetImpersonatedClient creates a controller-runtime client for Kubernetes.
No description provided by the author
No description provided by the author
ParseAWSTags does exactly that.
ReadCredentials reads a file with azure credentials and returns it as a struct.
SetupAzureCredentials creates the Azure credentials needed to create Azure resources from credentials passed in from the user or from a credentials file.
ValidateMarketplaceFlags validates if any marketplace flag was used, all were set to a non-empty value.
ValidateRequiredOption returns a cobra style error message when the flag value is empty.
# Constants
No description provided by the author
DeleteWithClusterLabelName marks CLI created secrets, to be safely removed on hosted cluster deletion.
# Structs
AzureCreds is the file format we expect for credentials.
No description provided by the author