types

package
v0.0.38 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SinkType added in v0.0.21

type SinkType string
const (
	SinkTypeAlertmanager SinkType = "alertmanager"
	SinkTypeSlack        SinkType = "slack"
)

type ValidationResponse added in v0.0.37

type ValidationResponse struct {
	ValidationRuleResults []*ValidationRuleResult
	ValidationRuleErrors  []error
}

ValidationResponse is the reconciliation output of one or more validation rules by a validator.

func (*ValidationResponse) AddResult added in v0.0.37

func (v *ValidationResponse) AddResult(vrr *ValidationRuleResult, err error)

AddResult adds a ValidationRuleResult and associated error to a ValidationResponse.

type ValidationRuleResult added in v0.0.37

type ValidationRuleResult struct {
	Condition *v1alpha1.ValidationCondition
	State     *v1alpha1.ValidationState
}

ValidationRuleResult is the result of the execution of a validation rule by a validator.

Jump to

Keyboard shortcuts

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