keyvalidator

package
v0.0.0-...-c2b5c71 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

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

Validate run user validation

Jump to

Keyboard shortcuts

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