bpfmanoperator

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationReconciler added in v0.6.0

type ApplicationReconciler[T BpfProgOper, TL BpfProgListOper[T]] interface {
	// contains filtered or unexported methods
}

ApplicationReconciler defines a k8s reconciler which can program bpfman.

type BpfApplicationReconciler added in v0.5.0

type BpfApplicationReconciler struct {
	ClusterApplicationReconciler
}

BpfApplicationReconciler reconciles a BpfApplication object

func (*BpfApplicationReconciler) Reconcile added in v0.5.0

func (*BpfApplicationReconciler) SetupWithManager added in v0.5.0

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

type BpfNsApplicationReconciler added in v0.5.5

type BpfNsApplicationReconciler struct {
	NamespaceApplicationReconciler
}

BpfNsApplicationReconciler reconciles a BpfNsApplication object

func (*BpfNsApplicationReconciler) Reconcile added in v0.5.5

func (*BpfNsApplicationReconciler) SetupWithManager added in v0.5.5

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

SetupWithManager sets up the controller with the Manager.

type BpfProgListOper added in v0.5.5

type BpfProgListOper[T any] interface {
	// bpfmniov1alpha1.BpfApplicationStateList | bpfmaniov1alpha1.ClusterBpfApplicationStateList
	GetItems() []T
}

type BpfProgOper added in v0.5.5

type BpfProgOper interface {
	GetName() string
	GetLabels() map[string]string
	GetConditions() []metav1.Condition
}

type BpfmanConfigReconciler

type BpfmanConfigReconciler struct {
	ClusterApplicationReconciler
	BpfmanStandardDS     string
	BpfmanMetricsProxyDS string
	CsiDriverDS          string
	IsOpenshift          bool
	HasMonitoring        bool
}

func (*BpfmanConfigReconciler) Reconcile

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

func (*BpfmanConfigReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ReconcilerCommon

type ReconcilerCommon[T BpfProgOper, TL BpfProgListOper[T]] struct {
	client.Client
	Scheme *runtime.Scheme
	Logger logr.Logger
}

Jump to

Keyboard shortcuts

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