Documentation
¶
Overview ¶
Package cmd provides the CLI commands for valdatorctl.
Index ¶
- Variables
- func Execute()
- func InitConfig()
- func InitRootCmd() *cobra.Command
- func NewApplyValidatorCmd() *cobra.Command
- func NewCheckValidatorCmd() *cobra.Command
- func NewDescribeValidationResultsCmd() *cobra.Command
- func NewInstallValidatorCmd() *cobra.Command
- func NewUndeployValidatorCmd() *cobra.Command
- func NewUpgradeValidatorCmd() *cobra.Command
- func NewValidatorDocsCmd() *cobra.Command
- func NewValidatorRulesCmd() *cobra.Command
- func NewVersionCmd() *cobra.Command
Constants ¶
This section is empty.
Variables ¶
var ( // Version is the version validatorctl Version string )
Functions ¶
func Execute ¶
func Execute()
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func InitRootCmd ¶
InitRootCmd initializes the root command and adds all enabled subcommands
func NewApplyValidatorCmd ¶ added in v0.1.1
NewApplyValidatorCmd returns a new cobra command for configuring and applying rules for validator plugins
func NewCheckValidatorCmd ¶ added in v0.1.1
NewCheckValidatorCmd returns a new cobra command for directly evaluating rules for validator plugins
func NewDescribeValidationResultsCmd ¶
NewDescribeValidationResultsCmd returns a new cobra command for describing validation results
func NewInstallValidatorCmd ¶ added in v0.1.0
NewInstallValidatorCmd returns a new cobra command for installing validator & validator plugin(s) nolint:dupl
func NewUndeployValidatorCmd ¶
NewUndeployValidatorCmd returns a new cobra command for undeploying the validator
func NewUpgradeValidatorCmd ¶
NewUpgradeValidatorCmd returns a new cobra command for upgrading the validator
func NewValidatorDocsCmd ¶ added in v0.1.0
NewValidatorDocsCmd returns a new cobra command for displaying information about validator plugins
func NewValidatorRulesCmd ¶ added in v0.1.1
NewValidatorRulesCmd returns a new cobra command which is a container for rule configuration subcommands nolint:dupl
func NewVersionCmd ¶
NewVersionCmd returns the cobra command that outputs the Validator CLI version
Types ¶
This section is empty.