Documentation
¶
Overview ¶
Package cloud provides cloud generic operations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Azure ¶
type Azure struct { Client azure.AZer // CredentialsFile is the path to a JSON formatted file containing client_id, client_secret and tenant of a // ServicePrincipal that is allowed to access the MasterKeyVault and AzureRM. CredentialsFile string // Vault is the name of the KeyVault to access. Vault string Log logr.Logger // contains filtered or unexported fields }
func (*Azure) Login ¶
func (a *Azure) Login() (*ServicePrincipal, error)
Login performs a cloud provider login (a prerequisite for most cli commands)
type Cloud ¶
type Cloud interface { // Login perform cloud provider login. Login() (*ServicePrincipal, error) // VaultGet reads a secret from a vault. VaultGet(name, field string) (string, error) }
type Fake ¶
type Fake struct { }
func (Fake) Login ¶
func (f Fake) Login() (*ServicePrincipal, error)
type ServicePrincipal ¶
Click to show internal directories.
Click to hide internal directories.