Documentation
¶
Overview ¶
Package validator provides functions to manage the validator and its plugins
Index ¶
- func CheckCommand(c *cfg.Config, tc *cfg.TaskConfig) error
- func ConfigureCommand(c *cfg.Config, tc *cfg.TaskConfig) error
- func DescribeValidationResultsCommand(tc *cfg.TaskConfig) error
- func InitWorkspace(c *cfg.Config, workspaceDir string, subdirs []string, timestamped bool) error
- func InstallValidatorCommand(c *cfg.Config, tc *cfg.TaskConfig) error
- func UndeployValidatorCommand(tc *cfg.TaskConfig) error
- func UpgradeValidatorCommand(c *cfg.Config, tc *cfg.TaskConfig) error
- func WatchValidationResults(tc *cfg.TaskConfig) (bool, error)
- type ErrValidationFailed
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCommand ¶ added in v0.2.1
func CheckCommand(c *cfg.Config, tc *cfg.TaskConfig) error
CheckCommand configures and executes validator plugin rules
func ConfigureCommand ¶ added in v0.2.1
func ConfigureCommand(c *cfg.Config, tc *cfg.TaskConfig) error
ConfigureCommand configures and applies validator plugin rules
func DescribeValidationResultsCommand ¶
func DescribeValidationResultsCommand(tc *cfg.TaskConfig) error
DescribeValidationResultsCommand prints the validation results
func InitWorkspace ¶ added in v0.0.4
InitWorkspace initializes a workspace directory with subdirectories
func InstallValidatorCommand ¶ added in v0.1.0
func InstallValidatorCommand(c *cfg.Config, tc *cfg.TaskConfig) error
InstallValidatorCommand deploys the validator and its plugins
func UndeployValidatorCommand ¶
func UndeployValidatorCommand(tc *cfg.TaskConfig) error
UndeployValidatorCommand undeploys validator and its plugins
func UpgradeValidatorCommand ¶
func UpgradeValidatorCommand(c *cfg.Config, tc *cfg.TaskConfig) error
UpgradeValidatorCommand upgrades validator and its plugins
func WatchValidationResults ¶ added in v0.0.3
func WatchValidationResults(tc *cfg.TaskConfig) (bool, error)
WatchValidationResults watches the validation results until all have either succeeded or failed
Types ¶
type ErrValidationFailed ¶ added in v0.1.2
type ErrValidationFailed struct{}
ErrValidationFailed is returned when one or more validation checks failed
func (ErrValidationFailed) Error ¶ added in v0.1.2
func (e ErrValidationFailed) Error() string
Error returns the error message for ErrValidationFailed