storage

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: 22 Imported by: 0

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

func Add

func Add(mgr manager.Manager) error

Creates a new Map Controller and adds it to the Manager. Note: Must not a pointer receiver to ensure that the logger and other state is not shared.

Types

type MapPredicate

type MapPredicate struct {
	predicate.Funcs
}

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.

type Reconciler

type Reconciler struct {
	base.Reconciler
}

Reconciles a Map object.

func (Reconciler) Reconcile

func (r Reconciler) Reconcile(request reconcile.Request) (result reconcile.Result, err error)

Reconcile a Map CR. Note: Must not a pointer receiver to ensure that the logger and other state is not shared.

Directories

Path Synopsis
ocp

Jump to

Keyboard shortcuts

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