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 BpfNsApplicationReconciler
- type BpfProgListOper
- type BpfProgOper
- 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 ClusterProgramReconciler
- type FentryProgramReconciler
- type FexitProgramReconciler
- type KprobeProgramReconciler
- type NamespaceProgramReconciler
- type ProgramReconciler
- type ReconcilerCommon
- type TcNsProgramReconciler
- type TcProgramReconciler
- type TcxNsProgramReconciler
- type TcxProgramReconciler
- type TracepointProgramReconciler
- type UprobeNsProgramReconciler
- type UprobeProgramReconciler
- type XdpNsProgramReconciler
- 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 {
ClusterProgramReconciler
}
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 BpfNsApplicationReconciler ¶ added in v0.5.5
type BpfNsApplicationReconciler struct {
NamespaceProgramReconciler
}
BpfNsApplicationReconciler reconciles a BpfNsApplication object
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 { GetItems() []T }
type BpfProgOper ¶ added in v0.5.5
type BpfProgOper interface { GetName() string GetLabels() map[string]string GetStatus() *bpfmaniov1alpha1.BpfProgramStatus }
type BpfmanConfigReconciler ¶
type BpfmanConfigReconciler struct { ClusterProgramReconciler 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 ClusterProgramReconciler ¶ added in v0.5.5
type ClusterProgramReconciler struct { ReconcilerCommon[bpfmaniov1alpha1.BpfProgram, bpfmaniov1alpha1.BpfProgramList] }
type FentryProgramReconciler ¶
type FentryProgramReconciler struct {
ClusterProgramReconciler
}
func (*FentryProgramReconciler) SetupWithManager ¶
func (r *FentryProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type FexitProgramReconciler ¶
type FexitProgramReconciler struct {
ClusterProgramReconciler
}
func (*FexitProgramReconciler) SetupWithManager ¶
func (r *FexitProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type KprobeProgramReconciler ¶
type KprobeProgramReconciler struct {
ClusterProgramReconciler
}
func (*KprobeProgramReconciler) SetupWithManager ¶
func (r *KprobeProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type NamespaceProgramReconciler ¶ added in v0.5.5
type NamespaceProgramReconciler struct { ReconcilerCommon[bpfmaniov1alpha1.BpfNsProgram, bpfmaniov1alpha1.BpfNsProgramList] }
type ProgramReconciler ¶
type ProgramReconciler[T BpfProgOper, TL BpfProgListOper[T]] interface { // contains filtered or unexported methods }
bpfmanReconciler defines a k8s reconciler which can program bpfman.
type ReconcilerCommon ¶
type ReconcilerCommon[T BpfProgOper, TL BpfProgListOper[T]] struct { client.Client Scheme *runtime.Scheme Logger logr.Logger }
ReconcilerCommon reconciles a BpfProgram object
type TcNsProgramReconciler ¶ added in v0.5.5
type TcNsProgramReconciler struct {
NamespaceProgramReconciler
}
func (*TcNsProgramReconciler) SetupWithManager ¶ added in v0.5.5
func (r *TcNsProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TcProgramReconciler ¶
type TcProgramReconciler struct {
ClusterProgramReconciler
}
func (*TcProgramReconciler) SetupWithManager ¶
func (r *TcProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TcxNsProgramReconciler ¶ added in v0.5.5
type TcxNsProgramReconciler struct {
NamespaceProgramReconciler
}
func (*TcxNsProgramReconciler) SetupWithManager ¶ added in v0.5.5
func (r *TcxNsProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TcxProgramReconciler ¶ added in v0.5.5
type TcxProgramReconciler struct {
ClusterProgramReconciler
}
func (*TcxProgramReconciler) SetupWithManager ¶ added in v0.5.5
func (r *TcxProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type TracepointProgramReconciler ¶
type TracepointProgramReconciler struct {
ClusterProgramReconciler
}
func (*TracepointProgramReconciler) SetupWithManager ¶
func (r *TracepointProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UprobeNsProgramReconciler ¶ added in v0.5.5
type UprobeNsProgramReconciler struct {
NamespaceProgramReconciler
}
func (*UprobeNsProgramReconciler) SetupWithManager ¶ added in v0.5.5
func (r *UprobeNsProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type UprobeProgramReconciler ¶
type UprobeProgramReconciler struct {
ClusterProgramReconciler
}
func (*UprobeProgramReconciler) SetupWithManager ¶
func (r *UprobeProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type XdpNsProgramReconciler ¶ added in v0.5.5
type XdpNsProgramReconciler struct {
NamespaceProgramReconciler
}
func (*XdpNsProgramReconciler) SetupWithManager ¶ added in v0.5.5
func (r *XdpNsProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
type XdpProgramReconciler ¶
type XdpProgramReconciler struct {
ClusterProgramReconciler
}
func (*XdpProgramReconciler) SetupWithManager ¶
func (r *XdpProgramReconciler) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Source Files ¶
- application-ns-programs.go
- application-programs.go
- common.go
- common_cluster.go
- common_namespace.go
- configmap.go
- fentry-program.go
- fexit-program.go
- kprobe-program.go
- tc-ns-program.go
- tc-program.go
- tcx-ns-program.go
- tcx-program.go
- tracepoint-program.go
- uprobe-ns-program.go
- uprobe-program.go
- xdp-ns-program.go
- xdp-program.go