shim

package
v2.85.6 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2021 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DataPlaneStorageContainerWrapper

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

func (DataPlaneStorageContainerWrapper) Create

func (w DataPlaneStorageContainerWrapper) Create(ctx context.Context, _, accountName, containerName string, input containers.CreateInput) error

func (DataPlaneStorageContainerWrapper) Delete

func (w DataPlaneStorageContainerWrapper) Delete(ctx context.Context, _, accountName, containerName string) error

func (DataPlaneStorageContainerWrapper) Exists

func (w DataPlaneStorageContainerWrapper) Exists(ctx context.Context, _, accountName, containerName string) (*bool, error)

func (DataPlaneStorageContainerWrapper) Get

func (w DataPlaneStorageContainerWrapper) Get(ctx context.Context, _, accountName, containerName string) (*StorageContainerProperties, error)

func (DataPlaneStorageContainerWrapper) UpdateAccessLevel

func (w DataPlaneStorageContainerWrapper) UpdateAccessLevel(ctx context.Context, _, accountName, containerName string, level containers.AccessLevel) error

func (DataPlaneStorageContainerWrapper) UpdateMetaData

func (w DataPlaneStorageContainerWrapper) UpdateMetaData(ctx context.Context, _, accountName, containerName string, metaData map[string]string) error

type DataPlaneStorageQueueWrapper

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

func (DataPlaneStorageQueueWrapper) Create

func (w DataPlaneStorageQueueWrapper) Create(ctx context.Context, _, accountName, queueName string, metaData map[string]string) error

func (DataPlaneStorageQueueWrapper) Delete

func (w DataPlaneStorageQueueWrapper) Delete(ctx context.Context, _, accountName, queueName string) error

func (DataPlaneStorageQueueWrapper) Exists

func (w DataPlaneStorageQueueWrapper) Exists(ctx context.Context, _, accountName, queueName string) (*bool, error)

func (DataPlaneStorageQueueWrapper) Get

func (w DataPlaneStorageQueueWrapper) Get(ctx context.Context, _, accountName, queueName string) (*StorageQueueProperties, error)

func (DataPlaneStorageQueueWrapper) GetServiceProperties

func (w DataPlaneStorageQueueWrapper) GetServiceProperties(ctx context.Context, resourceGroup, accountName string) (*queues.StorageServiceProperties, error)

func (DataPlaneStorageQueueWrapper) UpdateMetaData

func (w DataPlaneStorageQueueWrapper) UpdateMetaData(ctx context.Context, _, accountName, queueName string, metaData map[string]string) error

func (DataPlaneStorageQueueWrapper) UpdateServiceProperties

func (w DataPlaneStorageQueueWrapper) UpdateServiceProperties(ctx context.Context, _, accountName string, properties queues.StorageServiceProperties) error

type DataPlaneStorageShareWrapper

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

func (DataPlaneStorageShareWrapper) Create

func (w DataPlaneStorageShareWrapper) Create(ctx context.Context, _, accountName, shareName string, input shares.CreateInput) error

func (DataPlaneStorageShareWrapper) Delete

func (w DataPlaneStorageShareWrapper) Delete(ctx context.Context, _, accountName, shareName string) error

func (DataPlaneStorageShareWrapper) Exists

func (w DataPlaneStorageShareWrapper) Exists(ctx context.Context, _, accountName, shareName string) (*bool, error)

func (DataPlaneStorageShareWrapper) Get

func (w DataPlaneStorageShareWrapper) Get(ctx context.Context, _, accountName, shareName string) (*StorageShareProperties, error)

func (DataPlaneStorageShareWrapper) UpdateACLs

func (w DataPlaneStorageShareWrapper) UpdateACLs(ctx context.Context, _, accountName, shareName string, acls []shares.SignedIdentifier) error

func (DataPlaneStorageShareWrapper) UpdateMetaData

func (w DataPlaneStorageShareWrapper) UpdateMetaData(ctx context.Context, _, accountName, shareName string, metaData map[string]string) error

func (DataPlaneStorageShareWrapper) UpdateQuota

func (w DataPlaneStorageShareWrapper) UpdateQuota(ctx context.Context, _, accountName, shareName string, quotaGB int) error

type DataPlaneStorageTableWrapper

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

func (DataPlaneStorageTableWrapper) Create

func (w DataPlaneStorageTableWrapper) Create(ctx context.Context, _, accountName, tableName string) error

func (DataPlaneStorageTableWrapper) Delete

func (w DataPlaneStorageTableWrapper) Delete(ctx context.Context, _, accountName, tableName string) error

func (DataPlaneStorageTableWrapper) Exists

func (w DataPlaneStorageTableWrapper) Exists(ctx context.Context, _, accountName, tableName string) (*bool, error)

func (DataPlaneStorageTableWrapper) GetACLs

func (w DataPlaneStorageTableWrapper) GetACLs(ctx context.Context, _, accountName, tableName string) (*[]tables.SignedIdentifier, error)

func (DataPlaneStorageTableWrapper) UpdateACLs

func (w DataPlaneStorageTableWrapper) UpdateACLs(ctx context.Context, _, accountName, tableName string, acls []tables.SignedIdentifier) error

type StorageContainerProperties

type StorageContainerProperties struct {
	AccessLevel           containers.AccessLevel
	MetaData              map[string]string
	HasImmutabilityPolicy bool
	HasLegalHold          bool
}

type StorageContainerWrapper

type StorageContainerWrapper interface {
	Create(ctx context.Context, resourceGroup, accountName, containerName string, input containers.CreateInput) error
	Delete(ctx context.Context, resourceGroup, accountName, containerName string) error
	Exists(ctx context.Context, resourceGroup, accountName, containerName string) (*bool, error)
	Get(ctx context.Context, resourceGroup, accountName, containerName string) (*StorageContainerProperties, error)
	UpdateAccessLevel(ctx context.Context, resourceGroup, accountName, containerName string, level containers.AccessLevel) error
	UpdateMetaData(ctx context.Context, resourceGroup, accountName, containerName string, metadata map[string]string) error
}

func NewDataPlaneStorageContainerWrapper

func NewDataPlaneStorageContainerWrapper(client *containers.Client) StorageContainerWrapper

type StorageQueueProperties

type StorageQueueProperties struct {
	MetaData map[string]string
}

type StorageQueuesWrapper

type StorageQueuesWrapper interface {
	Create(ctx context.Context, resourceGroup, accountName, queueName string, metaData map[string]string) error
	Delete(ctx context.Context, resourceGroup, accountName, queueName string) error
	Exists(ctx context.Context, resourceGroup, accountName, queueName string) (*bool, error)
	Get(ctx context.Context, resourceGroup, accountName, queueName string) (*StorageQueueProperties, error)
	GetServiceProperties(ctx context.Context, resourceGroup, accountName string) (*queues.StorageServiceProperties, error)
	UpdateMetaData(ctx context.Context, resourceGroup, accountName, queueName string, metaData map[string]string) error
	UpdateServiceProperties(ctx context.Context, resourceGroup, accountName string, properties queues.StorageServiceProperties) error
}

func NewDataPlaneStorageQueueWrapper

func NewDataPlaneStorageQueueWrapper(client *queues.Client) StorageQueuesWrapper

type StorageShareProperties

type StorageShareProperties struct {
	ACLs            []shares.SignedIdentifier
	MetaData        map[string]string
	QuotaGB         int
	EnabledProtocol shares.ShareProtocol
}

type StorageShareWrapper

type StorageShareWrapper interface {
	Create(ctx context.Context, resourceGroup, accountName, shareName string, input shares.CreateInput) error
	Delete(ctx context.Context, resourceGroup, accountName, shareName string) error
	Exists(ctx context.Context, resourceGroup, accountName, shareName string) (*bool, error)
	Get(ctx context.Context, resourceGroup, accountName, shareName string) (*StorageShareProperties, error)
	UpdateACLs(ctx context.Context, resourceGroup, accountName, shareName string, acls []shares.SignedIdentifier) error
	UpdateMetaData(ctx context.Context, resourceGroup, accountName, shareName string, metaData map[string]string) error
	UpdateQuota(ctx context.Context, resourceGroup, accountName, shareName string, quotaGB int) error
}

func NewDataPlaneStorageShareWrapper

func NewDataPlaneStorageShareWrapper(client *shares.Client) StorageShareWrapper

type StorageTableWrapper

type StorageTableWrapper interface {
	Create(ctx context.Context, resourceGroup string, accountName string, tableName string) error
	Delete(ctx context.Context, resourceGroup string, accountName string, tableName string) error
	Exists(ctx context.Context, resourceGroup string, accountName string, tableName string) (*bool, error)
	GetACLs(ctx context.Context, resourceGroup string, accountName string, tableName string) (*[]tables.SignedIdentifier, error)
	UpdateACLs(ctx context.Context, resourceGroup string, accountName string, tableName string, acls []tables.SignedIdentifier) error
}

func NewDataPlaneStorageTableWrapper

func NewDataPlaneStorageTableWrapper(client *tables.Client) StorageTableWrapper

Jump to

Keyboard shortcuts

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