storage

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2022 License: MPL-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandMetaData

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

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