lhsm_plugin_az_core

package
v0.0.0-...-a55ed6e Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: MIT Imports: 14 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
	BlobEndpointURL string
	DFSEndpointURL  string
	ContainerName   string
	ResourceSAS     string
	MountRoot       string
	BlobName        string
	SourcePath      string
	Credential      azblob.Credential
	Parallelism     uint16
	BlockSize       int64
	Pacer           util.Pacer
	ExportPrefix    string
	HNSEnabled      bool
	HTTPClient      *http.Client
}

type RemoveOptions

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

type RestoreOptions

type RestoreOptions struct {
	AccountName     string
	BlobEndpointURL string
	ContainerName   string
	ResourceSAS     string
	BlobName        string
	DestinationPath string
	Credential      azblob.Credential
	Parallelism     uint16
	BlockSize       int64
	ExportPrefix    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