config

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RegistryKeyConfigValidator

type RegistryKeyConfigValidator struct{}

RegistryKeyConfigValidator is a Validator implementation which uses a configReader to read the values of the field.

func CreateRegistryKeyConfigValidator

func CreateRegistryKeyConfigValidator() *RegistryKeyConfigValidator

CreateRegistryKeyConfigValidator creates a new validator that checks registry values.

func (*RegistryKeyConfigValidator) CheckRegistryKey

func (ekcv *RegistryKeyConfigValidator) CheckRegistryKey(value string, path string, config configReader, allowEmpty bool) error

CheckRegistryKey checks if a registry key match their registry value counterparts.

Jump to

Keyboard shortcuts

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