fs

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: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClusterFsInfo

func GetClusterFsInfo(caller *cobra.Command) (*mds.ListClusterFsInfoResponse, *cmderror.CmdError)

func GetFsIds

func GetFsIds(caller *cobra.Command) ([]string, *cmderror.CmdError)

func NewFsCommand

func NewFsCommand() *cobra.Command

Types

type FsCommand

type FsCommand struct {
	basecmd.FinalCurveCmd
	Rpc *ListFsRpc
	// contains filtered or unexported fields
}

func NewListFsCommand

func NewListFsCommand() *FsCommand

func (*FsCommand) AddFlags

func (fCmd *FsCommand) AddFlags()

func (*FsCommand) Init

func (fCmd *FsCommand) Init(cmd *cobra.Command, args []string) error

func (*FsCommand) Print

func (fCmd *FsCommand) Print(cmd *cobra.Command, args []string) error

func (*FsCommand) ResultPlainOutput

func (fCmd *FsCommand) ResultPlainOutput() error

func (*FsCommand) RunCommand

func (fCmd *FsCommand) RunCommand(cmd *cobra.Command, args []string) error

type ListFsRpc

type ListFsRpc struct {
	Info    *basecmd.Rpc
	Request *mds.ListClusterFsInfoRequest
	// contains filtered or unexported fields
}

func (*ListFsRpc) NewRpcClient

func (fRpc *ListFsRpc) NewRpcClient(cc grpc.ClientConnInterface)

func (*ListFsRpc) Stub_Func

func (fRpc *ListFsRpc) Stub_Func(ctx context.Context) (interface{}, error)

Jump to

Keyboard shortcuts

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