Documentation ¶
Index ¶
- func New(config Config, credentials azure.Credentials) *objectStore
- func NewAuthorizedResourceGroupClientFromSecret(credentials azure.Credentials) (resourceGroup, error)
- func NewAuthorizedStorageAccountClientFromSecret(credentials azure.Credentials) (storageAccount, error)
- func NewClientCredentialsConfigFromSecret(credentials azure.Credentials) auth.ClientCredentialsConfig
- func NewPlainObjectStore() (*objectStore, error)
- func NewResourceGroupClientFromSecret(credentials azure.Credentials) resources.GroupsClient
- func NewStorageAccountClientFromSecret(credentials azure.Credentials) storage.AccountsClient
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(config Config, credentials azure.Credentials) *objectStore
New returns an Object Store instance that manages Azure object store
func NewAuthorizedResourceGroupClientFromSecret ¶
func NewAuthorizedResourceGroupClientFromSecret(credentials azure.Credentials) (resourceGroup, error)
NewAuthorizedResourceGroupClientFromSecret returns an authorized Azure resource groups client from a secret.
func NewAuthorizedStorageAccountClientFromSecret ¶
func NewAuthorizedStorageAccountClientFromSecret(credentials azure.Credentials) (storageAccount, error)
NewAuthorizedStorageAccountClientFromSecret returns an authorized Azure resource groups client from a secret.
func NewClientCredentialsConfigFromSecret ¶
func NewClientCredentialsConfigFromSecret(credentials azure.Credentials) auth.ClientCredentialsConfig
NewClientCredentialsConfigFromSecret returns an Azure client credential config from a secret.
TODO: implement validation for the secret?
func NewPlainObjectStore ¶
func NewPlainObjectStore() (*objectStore, error)
NewPlainObjectStore creates an objectstore with no configuration. Instances created with this function may be used to access methods that don't explicitly access external (cloud) resources
func NewResourceGroupClientFromSecret ¶
func NewResourceGroupClientFromSecret(credentials azure.Credentials) resources.GroupsClient
NewResourceGroupClientFromSecret returns an Azure resource groups client from a secret.
func NewStorageAccountClientFromSecret ¶
func NewStorageAccountClientFromSecret(credentials azure.Credentials) storage.AccountsClient
NewStorageAccountClientFromSecret returns an Azure resource groups client from a secret.