Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FentryProgramReconciler ¶
type FentryProgramReconciler struct { ReconcilerCommon // contains filtered or unexported fields }
BpfProgramReconciler reconciles a BpfProgram object
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) 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) 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.
func ProcessMapOwnerParam ¶
func ProcessMapOwnerParam(ctx context.Context, selector *metav1.LabelSelector, r *ReconcilerCommon) (*MapOwnerParamStatus, error)
This function parses the MapOwnerSelector Labor Selector field from the BpfProgramCommon struct in the *Program Objects. The labels should map to a BpfProgram Object that this *Program wants to share maps with. If found, this function returns the ID of the BpfProgram that owns the map on this node. Found or not, this function also returns some flags (isSet, isFound, isLoaded) to help with the processing and setting of the proper condition on the BpfProgram Object.
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) 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) 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) 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) 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.