validator

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 38 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 the validator and its plugins nolint:gocyclo

func UpdateValidatorCredentials

func UpdateValidatorCredentials(c *components.ValidatorConfig) error

UpdateValidatorCredentials updates the validator credentials

Types

This section is empty.

Jump to

Keyboard shortcuts

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