cmd

package
v0.2.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package cmd provides the CLI commands for valdatorctl.

Index

Constants

This section is empty.

Variables

View Source
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 InitConfig

func InitConfig()

InitConfig reads in config file and ENV variables if set

func InitRootCmd

func InitRootCmd() *cobra.Command

InitRootCmd initializes the root command and adds all enabled subcommands

func NewApplyValidatorCmd added in v0.1.1

func NewApplyValidatorCmd() *cobra.Command

NewApplyValidatorCmd returns a new cobra command for configuring and applying rules for validator plugins

func NewCheckValidatorCmd added in v0.1.1

func NewCheckValidatorCmd() *cobra.Command

NewCheckValidatorCmd returns a new cobra command for directly evaluating rules for validator plugins

func NewDescribeValidationResultsCmd

func NewDescribeValidationResultsCmd() *cobra.Command

NewDescribeValidationResultsCmd returns a new cobra command for describing validation results

func NewInstallValidatorCmd added in v0.1.0

func NewInstallValidatorCmd() *cobra.Command

NewInstallValidatorCmd returns a new cobra command for installing validator & validator plugin(s) nolint:dupl

func NewUndeployValidatorCmd

func NewUndeployValidatorCmd() *cobra.Command

NewUndeployValidatorCmd returns a new cobra command for undeploying the validator

func NewUpgradeValidatorCmd

func NewUpgradeValidatorCmd() *cobra.Command

NewUpgradeValidatorCmd returns a new cobra command for upgrading the validator

func NewValidatorDocsCmd added in v0.1.0

func NewValidatorDocsCmd() *cobra.Command

NewValidatorDocsCmd returns a new cobra command for displaying information about validator plugins

func NewValidatorRulesCmd added in v0.1.1

func NewValidatorRulesCmd() *cobra.Command

NewValidatorRulesCmd returns a new cobra command which is a container for rule configuration subcommands nolint:dupl

func NewVersionCmd

func NewVersionCmd() *cobra.Command

NewVersionCmd returns the cobra command that outputs the Validator CLI version

Types

This section is empty.

Jump to

Keyboard shortcuts

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