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.
Click to show internal directories.
Click to hide internal directories.