snapshot

package
Version: v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2020 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdSnapshot

func NewCmdSnapshot() *cobra.Command

NewCmdSnapshot adds command for operating on snapshot

func NewCmdSnapshotCreate

func NewCmdSnapshotCreate() *cobra.Command

NewCmdSnapshotCreate creates a snapshot of OpenEBS Volume

func NewCmdSnapshotList

func NewCmdSnapshotList() *cobra.Command

NewCmdSnapshotList displays list of volumes

func NewCmdSnapshotRevert

func NewCmdSnapshotRevert() *cobra.Command

NewCmdSnapshotRevert reverts a snapshot of OpenEBS Volume

Types

type CmdSnaphotOptions

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

CmdSnaphotOptions holds information of snapshots being operated

func (*CmdSnaphotOptions) RunSnapshotCreate

func (c *CmdSnaphotOptions) RunSnapshotCreate(cmd *cobra.Command) error

RunSnapshotCreate does tasks related to mayaserver.

func (*CmdSnaphotOptions) RunSnapshotList

func (c *CmdSnaphotOptions) RunSnapshotList(cmd *cobra.Command) error

RunSnapshotList makes snapshot-list API request to maya-apiserver

func (*CmdSnaphotOptions) RunSnapshotRevert

func (c *CmdSnaphotOptions) RunSnapshotRevert(cmd *cobra.Command) error

RunSnapshotRevert does tasks related to mayaserver.

func (*CmdSnaphotOptions) Validate

func (c *CmdSnaphotOptions) Validate(cmd *cobra.Command) error

Validate validates the flag values

func (*CmdSnaphotOptions) ValidateList

func (c *CmdSnaphotOptions) ValidateList(cmd *cobra.Command) error

ValidateList validates the flag values

Jump to

Keyboard shortcuts

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