validator

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2024 License: Apache-2.0 Imports: 56 Imported by: 0

Documentation

Overview

Package validator provides functions to manage the validator and its plugins

Index

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

func InitWorkspace(c *cfg.Config, workspaceDir string, subdirs []string, timestamped bool) error

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

Jump to

Keyboard shortcuts

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