azure

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: MPL-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() backend.Backend

New creates a new backend for S3 remote state.

Types

type Backend

type Backend struct {
	*schema.Backend
	// contains filtered or unexported fields
}

func (*Backend) DeleteState

func (b *Backend) DeleteState(name string) error

func (*Backend) State

func (b *Backend) State(name string) (state.State, error)

func (*Backend) States

func (b *Backend) States() ([]string, error)

type BackendConfig added in v0.10.4

type BackendConfig struct {
	AccessKey          string
	Environment        string
	ClientID           string
	ClientSecret       string
	ResourceGroupName  string
	StorageAccountName string
	SubscriptionID     string
	TenantID           string
}

type RemoteClient

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

func (*RemoteClient) Delete

func (c *RemoteClient) Delete() error

func (*RemoteClient) Get

func (c *RemoteClient) Get() (*remote.Payload, error)

func (*RemoteClient) Lock

func (c *RemoteClient) Lock(info *state.LockInfo) (string, error)

func (*RemoteClient) Put

func (c *RemoteClient) Put(data []byte) error

func (*RemoteClient) Unlock

func (c *RemoteClient) Unlock(id string) error

Jump to

Keyboard shortcuts

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