snapshot

package
v0.0.0-...-46d4b59 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

* Project: CurveCli * Created Date: 2023-11-10 * Author: ZackSoul

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteSnapShot

func DeleteSnapShot(addrs []string, timeout time.Duration, snapshot *snapshotutil.SnapshotInfo) *cmderror.CmdError

func NewSnapShotCommand

func NewSnapShotCommand() *cobra.Command

Types

type SnapShotCommand

type SnapShotCommand struct {
	basecmd.FinalCurveCmd
	// contains filtered or unexported fields
}

func NewDeleteSnapShotCommand

func NewDeleteSnapShotCommand() *SnapShotCommand

func (*SnapShotCommand) AddFlags

func (sCmd *SnapShotCommand) AddFlags()

func (*SnapShotCommand) Init

func (sCmd *SnapShotCommand) Init(cmd *cobra.Command, args []string) error

func (*SnapShotCommand) Print

func (sCmd *SnapShotCommand) Print(cmd *cobra.Command, args []string) error

func (*SnapShotCommand) ResultPlainOutput

func (sCmd *SnapShotCommand) ResultPlainOutput() error

func (*SnapShotCommand) RunCommand

func (sCmd *SnapShotCommand) RunCommand(cmd *cobra.Command, args []string) error

Jump to

Keyboard shortcuts

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