host

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

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

func Add

func Add(mgr manager.Manager) error

Creates a new Host Controller and adds it to the Manager.

Types

type HostPredicate

type HostPredicate struct {
	predicate.Funcs
}

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.

type Reconciler

type Reconciler struct {
	base.Reconciler
}

Reconciles a Host object.

func (Reconciler) Reconcile

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

Reconcile a Host 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