...

Package azure

import "github.com/docker/distribution/registry/storage/driver/azure"
Overview
Index

Overview ▾

Package azure provides a storagedriver.StorageDriver implementation to store blobs in Microsoft Azure Blob Storage Service.

type Driver

Driver is a storagedriver.StorageDriver implementation backed by Microsoft Azure Blob Storage Service.

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

func FromParameters

func FromParameters(parameters map[string]interface{}) (*Driver, error)

FromParameters constructs a new Driver with a given parameters map.

func New

func New(accountName, accountKey, container, realm string) (*Driver, error)

New constructs a new Driver with the given Azure Storage Account credentials