Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCommandDescription = command.NewDescription(
"ydbops",
"ydbops: a CLI tool for performing YDB cluster maintenance operations",
"ydbops: a CLI tool for performing YDB cluster maintenance operations",
)
Functions ¶
func InitRootCommandTree ¶ added in v0.0.3
func NewRootCommand ¶ added in v0.0.3
func NewRootCommand( logLevelSetter zap.AtomicLevel, logger *zap.SugaredLogger, boptions *command.BaseOptions, ) *cobra.Command
Types ¶
type RootOptions ¶ added in v0.0.3
type RootOptions struct {
*command.BaseOptions
}
func (*RootOptions) DefineFlags ¶ added in v0.0.3
func (r *RootOptions) DefineFlags(fs *pflag.FlagSet)
func (*RootOptions) Validate ¶ added in v0.0.3
func (r *RootOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.