bpfmanagent

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BpfApplicationReconciler added in v0.5.0

type BpfApplicationReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

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. The Bpfman-Agent should reconcile whenever a BpfApplication object is updated, load the programs to the node via bpfman, and then create a bpfProgram object to reflect per node state information.

type FentryProgramReconciler

type FentryProgramReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

BpfProgramReconciler reconciles a BpfProgram object

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. The Bpfman-Agent should reconcile whenever a FentryProgram is updated, load the program to the node via bpfman, and then create a bpfProgram object to reflect per node state information.

type FexitProgramReconciler

type FexitProgramReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

BpfProgramReconciler reconciles a BpfProgram object

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. The Bpfman-Agent should reconcile whenever a FexitProgram is updated, load the program to the node via bpfman, and then create a bpfProgram object to reflect per node state information.

type KprobeProgramReconciler

type KprobeProgramReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

BpfProgramReconciler reconciles a BpfProgram object

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. The Bpfman-Agent should reconcile whenever a KprobeProgram is updated, load the program to the node via bpfman, and then create a bpfProgram object to reflect per node state information.

type MapOwnerParamStatus

type MapOwnerParamStatus struct {
	// contains filtered or unexported fields
}

MapOwnerParamStatus provides the output from a MapOwerSelector being parsed.

type ReconcilerCommon

type ReconcilerCommon struct {
	client.Client
	Scheme       *runtime.Scheme
	GrpcConn     *grpc.ClientConn
	BpfmanClient gobpfman.BpfmanClient
	Logger       logr.Logger
	NodeName     string
	// contains filtered or unexported fields
}

ReconcilerCommon provides a skeleton for all *Program Reconcilers.

type TcProgramReconciler

type TcProgramReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

TcProgramReconciler reconciles a tcProgram object by creating multiple bpfProgram objects and managing bpfman for each one.

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. The Bpfman-Agent should reconcile whenever a TcProgram is updated, load the program to the node via bpfman, and then create bpfProgram object(s) to reflect per node state information.

type TracepointProgramReconciler

type TracepointProgramReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

BpfProgramReconciler reconciles a BpfProgram object

func (*TracepointProgramReconciler) Reconcile

func (*TracepointProgramReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager. The Bpfman-Agent should reconcile whenever a TracepointProgram is updated, load the program to the node via bpfman, and then create a bpfProgram object to reflect per node state information.

type UprobeProgramReconciler

type UprobeProgramReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

BpfProgramReconciler reconciles a BpfProgram object

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. The Bpfman-Agent should reconcile whenever a UprobeProgram is updated, load the program to the node via bpfman, and then create a bpfProgram object to reflect per node state information.

type XdpProgramReconciler

type XdpProgramReconciler struct {
	ReconcilerCommon
	// contains filtered or unexported fields
}

BpfProgramReconciler reconciles a BpfProgram object

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. The Bpfman-Agent should reconcile whenever a XdpProgram is updated, load the program to the node via bpfman, and then create a bpfProgram object to reflect per node state information.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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