Documentation ¶
Overview ¶
* Project: CurveCli * Created Date: 2023-11-10 * Author: ZackSoul
Index ¶
- func DeleteSnapShot(addrs []string, timeout time.Duration, snapshot *snapshotutil.SnapshotInfo) *cmderror.CmdError
- func NewSnapShotCommand() *cobra.Command
- type SnapShotCommand
- func (sCmd *SnapShotCommand) AddFlags()
- func (sCmd *SnapShotCommand) Init(cmd *cobra.Command, args []string) error
- func (sCmd *SnapShotCommand) Print(cmd *cobra.Command, args []string) error
- func (sCmd *SnapShotCommand) ResultPlainOutput() error
- func (sCmd *SnapShotCommand) RunCommand(cmd *cobra.Command, args []string) error
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 ¶
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
Click to show internal directories.
Click to hide internal directories.