azblob_service

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() (storage.StorageService, error)

New - Creates a new instance of the AzblobStorageService

Types

type AzblobStorageService

type AzblobStorageService struct {
	storage.UnimplementedStoragePlugin
	// contains filtered or unexported fields
}

AzblobStorageService - Nitric membrane storage plugin implementation for Azure Storage

func (*AzblobStorageService) Delete

func (a *AzblobStorageService) Delete(ctx context.Context, bucket string, key string) error

func (*AzblobStorageService) ListFiles added in v0.16.0

func (s *AzblobStorageService) ListFiles(ctx context.Context, bucket string) ([]*storage.FileInfo, error)

func (*AzblobStorageService) PreSignUrl

func (s *AzblobStorageService) PreSignUrl(ctx context.Context, bucket string, key string, operation storage.Operation, expiry uint32) (string, error)

func (*AzblobStorageService) Read

func (a *AzblobStorageService) Read(ctx context.Context, bucket string, key string) ([]byte, error)

func (*AzblobStorageService) Write

func (a *AzblobStorageService) Write(ctx context.Context, bucket string, key string, object []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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