storage

package
v0.0.0-...-3c75e53 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2020 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Controller name.
	Name = "storage-map"
	// Fast re-queue delay.
	FastReQ = time.Millisecond * 100
	// Slow re-queue delay.
	SlowReQ = time.Second * 3
)
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"
)

Reasons

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

Statuses

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.

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 {
	predicate.Funcs
}

func (ProviderPredicate) Create

func (ProviderPredicate) Delete

func (ProviderPredicate) Generic

func (ProviderPredicate) Update

type Reconciler

type Reconciler struct {
	client.Client
	// contains filtered or unexported fields
}

Reconciles a Map object.

func (*Reconciler) Reconcile

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

Reconcile a Map CR.

Jump to

Keyboard shortcuts

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