storage

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: 57 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildContainerPermissionsString

func BuildContainerPermissionsString(perms map[string]interface{}) string

func BuildPermissionsString

func BuildPermissionsString(perms map[string]interface{}) string

func BuildResourceTypesString

func BuildResourceTypesString(resTypes map[string]interface{}) string

func BuildServicesString

func BuildServicesString(services map[string]interface{}) string

func ExpandDataLakeGen2AceList

func ExpandDataLakeGen2AceList(input []interface{}) (*accesscontrol.ACL, error)

func ExpandMetaData

func ExpandMetaData(input map[string]interface{}) map[string]string

func FlattenDataLakeGen2AceList

func FlattenDataLakeGen2AceList(acl accesscontrol.ACL) []interface{}

func FlattenMetaData

func FlattenMetaData(input map[string]string) map[string]interface{}

func MetaDataComputedSchema

func MetaDataComputedSchema() *pluginsdk.Schema

func MetaDataSchema

func MetaDataSchema() *pluginsdk.Schema

Types

type BlobUpload

type BlobUpload struct {
	Client *blobs.Client

	AccountName   string
	BlobName      string
	ContainerName string

	BlobType      string
	CacheControl  string
	ContentType   string
	ContentMD5    string
	MetaData      map[string]string
	Parallelism   int
	Size          int
	Source        string
	SourceContent string
	SourceUri     string
}

func (BlobUpload) Create

func (sbu BlobUpload) Create(ctx context.Context) error

type Registration

type Registration struct{}

func (Registration) Name

func (r Registration) Name() string

Name is the name of this Service

func (Registration) SupportedDataSources

func (r Registration) SupportedDataSources() map[string]*pluginsdk.Resource

SupportedDataSources returns the supported Data Sources supported by this Service

func (Registration) SupportedResources

func (r Registration) SupportedResources() map[string]*pluginsdk.Resource

SupportedResources returns the supported Resources supported by this Service

func (Registration) WebsiteCategories

func (r Registration) WebsiteCategories() []string

WebsiteCategories returns a list of categories which can be used for the sidebar

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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