Documentation ¶
Index ¶
Constants ¶
View Source
const ( Validated = "Validated" RefNotValid = "RefNotValid" SecretNotValid = "SecretNotValid" TypeNotValid = "TypeNotValid" IpNotValid = "IpNotValid" ConnectionTestSucceeded = "ConnectionTestSucceeded" ConnectionTestFailed = "ConnectionTestFailed" InMaintenance = "InMaintenance" NotHealthy = "NotHealthy" )
Types
View Source
const ( Required = libcnd.Required Advisory = libcnd.Advisory Critical = libcnd.Critical Error = libcnd.Error Warn = libcnd.Warn )
Categories
View Source
const ( NotSet = "NotSet" NotFound = "NotFound" DataErr = "DataErr" TypeErr = "TypeErr" Ambiguous = "Ambiguous" Completed = "Completed" Tested = "Tested" StateEvaluated = "StateEvaluated" )
Reasons
View Source
const ( True = libcnd.True False = libcnd.False )
Statuses
View Source
const (
// Name.
Name = "host"
)
Variables ¶
View Source
var Settings = &settings.Settings
Application settings.
Functions ¶
Types ¶
type HostPredicate ¶
func (HostPredicate) Create ¶
func (r HostPredicate) Create(e event.CreateEvent) bool
func (HostPredicate) Delete ¶
func (r HostPredicate) Delete(e event.DeleteEvent) bool
func (HostPredicate) Update ¶
func (r HostPredicate) Update(e event.UpdateEvent) bool
type ProviderPredicate ¶
type ProviderPredicate struct { handler.WatchManager predicate.Funcs // contains filtered or unexported fields }
Provider watch predicate. Also ensures an inventory watch is created and associated with the channel source.
func (*ProviderPredicate) Create ¶
func (r *ProviderPredicate) Create(e event.CreateEvent) bool
Provider created event.
func (*ProviderPredicate) Delete ¶
func (r *ProviderPredicate) Delete(e event.DeleteEvent) bool
Provider deleted event.
func (*ProviderPredicate) Generic ¶
func (r *ProviderPredicate) Generic(e event.GenericEvent) bool
Generic provider watch event.
func (*ProviderPredicate) Update ¶
func (r *ProviderPredicate) Update(e event.UpdateEvent) bool
Provider updated event.
Click to show internal directories.
Click to hide internal directories.