Documentation ¶
Index ¶
Constants ¶
View Source
const ( SourceStorageNotValid = "SourceStorageNotValid" DestinationStorageNotValid = "DestinationStorageNotValid" )
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" Ambiguous = "Ambiguous" )
Reasons
View Source
const ( True = libcnd.True False = libcnd.False )
Statuses
View Source
const (
// Name.
Name = "storageMap"
)
Variables ¶
View Source
var Settings = &settings.Settings
Application settings.
Functions ¶
Types ¶
type MapPredicate ¶
func (MapPredicate) Create ¶
func (r MapPredicate) Create(e event.CreateEvent) bool
func (MapPredicate) Delete ¶
func (r MapPredicate) Delete(e event.DeleteEvent) bool
func (MapPredicate) Update ¶
func (r MapPredicate) 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.