bpfmanoperator

package
v0.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadAndConfigureBpfmanDs

func LoadAndConfigureBpfmanDs(config *corev1.ConfigMap, path string) *appsv1.DaemonSet

func LoadCsiDriver

func LoadCsiDriver(path string) *storagev1.CSIDriver

func LoadRestrictedSecurityContext

func LoadRestrictedSecurityContext(path string) *osv1.SecurityContextConstraints

LoadRestrictedSecurityContext loads the bpfman-restricted SCC from disk which users can bind to in order to utilize bpfman in an unprivileged way.

Types

type BpfApplicationReconciler added in v0.5.0

type BpfApplicationReconciler struct {
	ReconcilerCommon
}

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

SetupWithManager sets up the controller with the Manager.

type BpfmanConfigReconciler

type BpfmanConfigReconciler struct {
	ReconcilerCommon
	BpfmanStandardDeployment string
	CsiDriverDeployment      string
	RestrictedSCC            string
	IsOpenshift              bool
}

func (*BpfmanConfigReconciler) Reconcile

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

func (*BpfmanConfigReconciler) ReconcileBpfmanConfig

func (r *BpfmanConfigReconciler) ReconcileBpfmanConfig(ctx context.Context, req ctrl.Request, bpfmanConfig *corev1.ConfigMap) (ctrl.Result, error)

func (*BpfmanConfigReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type FentryProgramReconciler

type FentryProgramReconciler struct {
	ReconcilerCommon
}

func (*FentryProgramReconciler) Reconcile

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

func (*FentryProgramReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type FexitProgramReconciler

type FexitProgramReconciler struct {
	ReconcilerCommon
}

func (*FexitProgramReconciler) Reconcile

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

func (*FexitProgramReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type KprobeProgramReconciler

type KprobeProgramReconciler struct {
	ReconcilerCommon
}

func (*KprobeProgramReconciler) Reconcile

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

func (*KprobeProgramReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ProgramReconciler

type ProgramReconciler interface {
	// contains filtered or unexported methods
}

bpfmanReconciler defines a k8s reconciler which can program bpfman.

type ReconcilerCommon

type ReconcilerCommon struct {
	client.Client
	Scheme *runtime.Scheme
	Logger logr.Logger
}

ReconcilerCommon reconciles a BpfProgram object

type TcProgramReconciler

type TcProgramReconciler struct {
	ReconcilerCommon
}

func (*TcProgramReconciler) Reconcile

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

func (*TcProgramReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type TracepointProgramReconciler

type TracepointProgramReconciler struct {
	ReconcilerCommon
}

func (*TracepointProgramReconciler) Reconcile

func (*TracepointProgramReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type UprobeProgramReconciler

type UprobeProgramReconciler struct {
	ReconcilerCommon
}

func (*UprobeProgramReconciler) Reconcile

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

func (*UprobeProgramReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type XdpProgramReconciler

type XdpProgramReconciler struct {
	ReconcilerCommon
}

func (*XdpProgramReconciler) Reconcile

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

func (*XdpProgramReconciler) SetupWithManager

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