fs

package
v0.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIDFromString

func NewIDFromString(idStr string) vim.ID

func NewVimIDFromPEID

func NewVimIDFromPEID(peid astrolabe.ProtectedEntityID) vim.ID

Types

type FSProtectedEntity

type FSProtectedEntity struct {
	// contains filtered or unexported fields
}

func (FSProtectedEntity) DeleteSnapshot

func (this FSProtectedEntity) DeleteSnapshot(ctx context.Context, snapshotToDelete astrolabe.ProtectedEntitySnapshotID, params map[string]map[string]interface{}) (bool, error)

func (FSProtectedEntity) GetCombinedInfo

func (this FSProtectedEntity) GetCombinedInfo(ctx context.Context) ([]astrolabe.ProtectedEntityInfo, error)

func (FSProtectedEntity) GetComponents

func (this FSProtectedEntity) GetComponents(ctx context.Context) ([]astrolabe.ProtectedEntity, error)

func (FSProtectedEntity) GetDataReader

func (this FSProtectedEntity) GetDataReader(context.Context) (io.ReadCloser, error)

func (FSProtectedEntity) GetID

func (FSProtectedEntity) GetInfo

func (FSProtectedEntity) GetInfoForSnapshot

func (FSProtectedEntity) GetMetadataReader

func (this FSProtectedEntity) GetMetadataReader(context.Context) (io.ReadCloser, error)

func (FSProtectedEntity) ListSnapshots

func (FSProtectedEntity) Overwrite added in v0.2.0

func (this FSProtectedEntity) Overwrite(ctx context.Context, sourcePE astrolabe.ProtectedEntity, params map[string]map[string]interface{},
	overwriteComponents bool) error

func (FSProtectedEntity) Snapshot

func (this FSProtectedEntity) Snapshot(ctx context.Context, params map[string]map[string]interface{}) (astrolabe.ProtectedEntitySnapshotID, error)

* Snapshot APIs

type FSProtectedEntityTypeManager

type FSProtectedEntityTypeManager struct {
	// contains filtered or unexported fields
}

func NewFSProtectedEntityTypeManagerFromConfig

func NewFSProtectedEntityTypeManagerFromConfig(params map[string]interface{}, s3Config astrolabe.S3Config,
	logger logrus.FieldLogger) (*FSProtectedEntityTypeManager, error)

func (*FSProtectedEntityTypeManager) Copy

func (*FSProtectedEntityTypeManager) CopyFromInfo

func (*FSProtectedEntityTypeManager) GetProtectedEntities

func (this *FSProtectedEntityTypeManager) GetProtectedEntities(ctx context.Context) ([]astrolabe.ProtectedEntityID, error)

func (*FSProtectedEntityTypeManager) GetProtectedEntity

func (*FSProtectedEntityTypeManager) GetTypeName

func (this *FSProtectedEntityTypeManager) GetTypeName() string

Jump to

Keyboard shortcuts

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