validation

package
v0.0.0-...-e73b65a Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProviderNotValid            = "ProviderNotValid"
	ProviderNotReady            = "ProviderNotReady"
	SourceProviderNotValid      = "SourceProviderNotValid"
	SourceProviderNotReady      = "SourceProviderNotReady"
	DestinationProviderNotValid = "DestinationProviderNotValid"
	DestinationProviderNotReady = "DestinationProviderNotReady"
)

Types

View Source
const (
	Advisory = libcnd.Advisory
	Critical = libcnd.Critical
	Error    = libcnd.Error
	Warn     = libcnd.Warn
)

Categories

View Source
const (
	NotSet       = "NotSet"
	NotFound     = "NotFound"
	TypeNotValid = "TypeNotValid"
)

Reasons

View Source
const (
	True  = libcnd.True
	False = libcnd.False
)

Statuses

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	client.Client
	// Found and populated by Validate().
	Referenced *api.Provider
}

Referenced Provider validation.

func (*Provider) Validate

func (r *Provider) Validate(ref core.ObjectReference) (result libcnd.Conditions, err error)

Validate a provider.

type ProviderPair

type ProviderPair struct {
	client.Client
	// Found and populated by Validate().
	Referenced struct {
		Source      *api.Provider
		Destination *api.Provider
	}
}

ProviderPair

func (*ProviderPair) Validate

func (r *ProviderPair) Validate(pair provider.Pair) (result libcnd.Conditions, err error)

Validate the pair.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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