controllers

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IPReconciler

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

IPReconciler reconciles a IP object.

func NewIPReconciler

func NewIPReconciler(namespace string, subnetLabelName string, subnetLabelValue string) (*IPReconciler, error)

func (*IPReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*IPReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type OOBReconciler

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

OOBReconciler reconciles a OOB object

func NewOOBReconciler

func NewOOBReconciler(namespace string, credentialsExpBuffer, shutdownTimeout time.Duration) (*OOBReconciler, error)

func (*OOBReconciler) LoadMACPrefixes

func (r *OOBReconciler) LoadMACPrefixes(ctx context.Context, prefixesFile string) error

LoadMACPrefixes loads MAC address prefixes from a file.

func (*OOBReconciler) Reconcile

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

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

func (*OOBReconciler) SetupWithManager

func (r *OOBReconciler) 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