azure

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2018 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlobContainerClient

type BlobContainerClient struct {
	// contains filtered or unexported fields
}

BlobContainerClient is facade for creating and using the azure-storage-blob-go client. Allows easy mocking Azure client dependency in tests.

func NewBlobContainerClient

func NewBlobContainerClient(absAccountName, absAccountKey, absContainerName string) (*BlobContainerClient, error)

NewBlobContainerClient returns client for Azure blob storage

func (*BlobContainerClient) DeleteBlockBlob

DeleteBlockBlob allows you to delete block blob by calling only one method.

func (*BlobContainerClient) ListBlobsFlatSegment

ListBlobsFlatSegment wraps the ContainerURL.ListBlobsFlatSegment

type ExtractCredsFromSecretOutput

type ExtractCredsFromSecretOutput struct {
	AccountName string
	AccountKey  string
}

ExtractCredsFromSecretOutput contains all information which will be returned from ExtractCredsFromSecret function

func ExtractCredsFromSecret

func ExtractCredsFromSecret(absSecretName string, secretCli coreCli.SecretInterface) (*ExtractCredsFromSecretOutput, error)

ExtractCredsFromSecret returns account info for ABS from given k8s Secret

Jump to

Keyboard shortcuts

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