cmd

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2024 License: Apache-2.0 Imports: 11 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 NewConfigureValidatorCmd added in v0.1.0

func NewConfigureValidatorCmd() *cobra.Command

NewConfigureValidatorCmd returns a new cobra command for configuring and applying rules for validator plugins nolint:dupl

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 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