Documentation ¶
Index ¶
- func LoadAndConfigureBpfmanDs(config *corev1.ConfigMap, path string) *appsv1.DaemonSet
- func LoadCsiDriver(path string) *storagev1.CSIDriver
- func LoadRestrictedSecurityContext(path string) *osv1.SecurityContextConstraints
- type BpfApplicationReconciler
- type BpfmanConfigReconciler
- func (r *BpfmanConfigReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *BpfmanConfigReconciler) ReconcileBpfmanConfig(ctx context.Context, req ctrl.Request, bpfmanConfig *corev1.ConfigMap) (ctrl.Result, error)
- func (r *BpfmanConfigReconciler) SetupWithManager(mgr ctrl.Manager) error
- type FentryProgramReconciler
- type FexitProgramReconciler
- type KprobeProgramReconciler
- type ProgramReconciler
- type ReconcilerCommon
- type TcProgramReconciler
- type TracepointProgramReconciler
- type UprobeProgramReconciler
- type XdpProgramReconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadCsiDriver ¶
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) 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) ReconcileBpfmanConfig ¶
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) 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) 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) 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 ¶
ReconcilerCommon reconciles a BpfProgram object
type TcProgramReconciler ¶
type TcProgramReconciler struct {
ReconcilerCommon
}
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) 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) 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) SetupWithManager ¶
func (r *XdpProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.