fs

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 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) (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.Reader, error)

func (FSProtectedEntity) ListSnapshots

func (FSProtectedEntity) Snapshot

* Snapshot APIs

type FSProtectedEntityTypeManager

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

func NewFSProtectedEntityTypeManagerFromConfig

func NewFSProtectedEntityTypeManagerFromConfig(params map[string]interface{}, s3URLBase string,
	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