Documentation
¶
Index ¶
- Constants
- func GetDBCmd(ctx *context.Context) *cobra.Command
- func GetDefaultConfigPath() string
- func GetRootCmd(ctx *context.Context) *cobra.Command
- func GetRootPreRunEFn(ctx *context.Context, validateCfg bool) func(*cobra.Command, []string) error
- func GetStartCmd(ctx *context.Context) *cobra.Command
- func GetStartRunFn(ctx *context.Context) func(*cobra.Command, []string) error
- func GetUserCmd(ctx *context.Context) *cobra.Command
- func GetValidateCmd(ctx *context.Context) *cobra.Command
- func GetValidateRunFn(ctx *context.Context) func(*cobra.Command, []string) error
- func GetVersionCmd() *cobra.Command
- func GetVersionRunFn() func(*cobra.Command, []string)
Constants ¶
View Source
const ( ConfigName = "manager" LogLevel = "level" Name = "flecto-manager" )
View Source
const CmdValidateName = "validate"
Variables ¶
This section is empty.
Functions ¶
func GetDefaultConfigPath ¶
func GetDefaultConfigPath() string
func GetRootPreRunEFn ¶
func GetValidateRunFn ¶
func GetVersionCmd ¶
func GetVersionRunFn ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.