controllers

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// BmhPausedAnnotation is the annotations for pausing baremetalhost reconciliation
	BmhPausedAnnotation = "baremetalhost.metal3.io/paused"

	// BmhPausedAnnotationValue is the value for the annotation for pausing baremetalhost reconciliation
	BmhPausedAnnotationValue = "kanod.io/bmpool"

	// KanodPoolnameAnnotation is the annotation containing the poolname value
	KanodPoolnameAnnotation string = "kanod.io/poolname"

	// KanodServernameAnnotation is the annotation containing the servername value
	KanodServernameAnnotation string = "kanod.io/servername"

	// KanodRedfishSchemaAnnotation is the annotation containing the redfish-schema value
	KanodRedfishSchemaAnnotation string = "kanod.io/redfish-schema"

	MilliResyncPeriod = 5000

	Info  = 0
	Debug = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BareMetalDefReconciler added in v0.2.0

type BareMetalDefReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Broker *broker.Broker
}

func (*BareMetalDefReconciler) Reconcile added in v0.2.0

func (r *BareMetalDefReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*BareMetalDefReconciler) SetupWithManager added in v0.2.0

func (r *BareMetalDefReconciler) SetupWithManager(mgr ctrl.Manager) error

//////////////////////////////////////////////////////////////

type Label

type Label struct {
	Label string `json:"label"`
}

type NetworkAnnotation added in v0.1.5

type NetworkAnnotation struct {
	Itfs  []string          `json:"itfs"`
	Vlans map[string]string `json:"vlans"`
}

type PoolDefReconciler added in v0.2.0

type PoolDefReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Broker *broker.Broker
}

PoolDefReconciler reconciles a PoolDef object

func (*PoolDefReconciler) Reconcile added in v0.2.0

func (r *PoolDefReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PoolDefReconciler) SetupWithManager added in v0.2.0

func (r *PoolDefReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

type PoolUserReconciler added in v0.1.10

type PoolUserReconciler struct {
	client.Client
	Log    logr.Logger
	Scheme *runtime.Scheme
	Broker *broker.Broker
}

PoolUserReconciler reconciles a PoolUser object

func (*PoolUserReconciler) Reconcile added in v0.1.10

func (r *PoolUserReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*PoolUserReconciler) SetupWithManager added in v0.1.10

func (r *PoolUserReconciler) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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