lhsm_plugin_az_core

package
v0.0.0-...-de15cc6 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Archive

func Archive(o ArchiveOptions) (size int64, err error)

Archive copies local file to HNS

func Remove

func Remove(o RemoveOptions) error

func Restore

func Restore(o RestoreOptions) (int64, error)

Restore persists a blob to the local filesystem

Types

type ArchiveOptions

type ArchiveOptions struct {
	AccountName   string
	AccountSuffix string
	ContainerName string
	ResourceSAS   string
	MountRoot     string
	BlobName      string
	SourcePath    string
	Credential    azblob.Credential
	Parallelism   uint16
	BlockSize     int64
	Pacer         util.Pacer
	ExportPrefix  string
	HTTPClient    *http.Client
}

type RemoveOptions

type RemoveOptions struct {
	AccountName   string
	AccountSuffix string
	ContainerName string
	ResourceSAS   string
	BlobName      string
	ExportPrefix  string
	Credential    azblob.Credential
}

type RestoreOptions

type RestoreOptions struct {
	AccountName     string
	AccountSuffix   string
	ContainerName   string
	ResourceSAS     string
	BlobName        string
	DestinationPath string
	Credential      azblob.Credential
	Parallelism     uint16
	BlockSize       int64
	ExportPrefix    string
	BlobVersionID   string
	Pacer           util.Pacer
	HTTPClient      *http.Client
}

Jump to

Keyboard shortcuts

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