validator

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: 44 Imported by: 0

Documentation

Overview

Package validator provides functions for interacting with the validator and its plugins.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPrivileges

func LoadPrivileges(privilegeFile string) ([]string, error)

LoadPrivileges returns a slice of privilege IDs from the provided privilege file

func ReadValidatorConfig

func ReadValidatorConfig(c *cfg.Config, tc *cfg.TaskConfig, vc *components.ValidatorConfig) error

ReadValidatorConfig prompts the user to configure installation settings for validator and its plugins. nolint:gocyclo

func ReadValidatorPluginConfig added in v0.1.0

func ReadValidatorPluginConfig(c *cfg.Config, tc *cfg.TaskConfig, vc *components.ValidatorConfig) error

ReadValidatorPluginConfig prompts the user to configure validator plugins rule(s).

func UpdateValidatorCredentials

func UpdateValidatorCredentials(c *components.ValidatorConfig) error

UpdateValidatorCredentials updates validator credentials

func UpdateValidatorPluginCredentials added in v0.1.0

func UpdateValidatorPluginCredentials(c *components.ValidatorConfig, tc *cfg.TaskConfig) error

UpdateValidatorPluginCredentials updates validator plugin credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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