Documentation ¶
Overview ¶
Package keyvalidator contains code used by the key-validator
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Userfile string
}
Config is used to unmarshal yaml configuration for the key validator
type KeyValidator ¶
type KeyValidator struct {
KeyValidatorConfig *Config
}
KeyValidator is a Validation as described in github.com/app-sre/go-qontract-reconcile/pkg/integration.go
func NewKeyValidator ¶
func NewKeyValidator() *KeyValidator
NewKeyValidator Create a new KeyValidator integration struct
func (*KeyValidator) Setup ¶
func (i *KeyValidator) Setup(_ context.Context) error
Setup runs setup for key validator
func (*KeyValidator) Validate ¶
func (i *KeyValidator) Validate(_ context.Context) ([]reconcile.ValidationError, error)
Validate run user validation
Click to show internal directories.
Click to hide internal directories.