provider

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

Documentation

Index

Constants

View Source
const (
	// Controller name.
	Name = "provider"
	// Fast re-queue delay.
	FastReQ = time.Millisecond * 100
	// Slow re-queue delay.
	SlowReQ = time.Second * 10
)
View Source
const (
	UrlNotValid      = "UrlNotValid"
	TypeNotSupported = "ProviderTypeNotSupported"
	SecretNotValid   = "SecretNotValid"
	Validated        = "Validated"
	ConnectionTested = "ConnectionTested"
	InventoryCreated = "InventoryCreated"
	LoadInventory    = "LoadInventory"
)

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"
	NotSupported = "NotSupported"
	DataErr      = "DataErr"
	Malformed    = "Malformed"
	Failed       = "Failed"
	Completed    = "Completed"
	Tested       = "Tested"
	Started      = "Started"
)

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 Inventory Controller and adds it to the Manager.

Types

type ProviderPredicate

type ProviderPredicate struct {
	predicate.Funcs
}

func (ProviderPredicate) Create

func (ProviderPredicate) Delete

func (ProviderPredicate) Update

type Reconciler

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

Reconciles an provider object.

func (*Reconciler) Reconcile

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

Reconcile a Inventory CR.

Directories

Path Synopsis
ocp
ocp
web
ocp

Jump to

Keyboard shortcuts

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