Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bpftools/kube-bpf
/ functions
Functions
58 in github.com/bpftools/kube-bpf
⨍
Functions
58
◇
Types & classes
50
↓ 7 callers
Method
Create
()
daemonset/service.go:34
↓ 4 callers
Function
newBPFEvent
(snap *v1alpha1.BPF, eventType string, reason string, message string)
controller/bpf.go:205
↓ 3 callers
Method
Run
(threadiness int, stopCh <-chan struct{}, wg *sync.WaitGroup)
controller/controller.go:8
↓ 2 callers
Method
Get
(name string, opts metav1.GetOptions, subresources ...string)
apis/v1alpha1/bpf.go:27
↓ 2 callers
Method
MapsMeta
()
loader/loader.go:79
↓ 1 callers
Method
Delete
(name string, opts *metav1.DeleteOptions, subresources ...string)
apis/v1alpha1/bpf.go:37
↓ 1 callers
Method
List
(opts metav1.ListOptions)
apis/v1alpha1/bpf.go:22
↓ 1 callers
Method
Module
()
loader/loader.go:75
↓ 1 callers
Function
New
(res *resources.BPF, appsv1Client tappsv1.AppsV1Interface)
daemonset/daemonset.go:22
↓ 1 callers
Function
NewBPF
( i cache.SharedInformer, wq workqueue.RateLimitingInterface, kc *kubernetes.Clientset)
controller/bpf.go:33
↓ 1 callers
Function
NewBPFClient
(dynamicClient dynamic.Interface, restclient rest.Interface)
apis/v1alpha1/bpf.go:76
↓ 1 callers
Function
NewBPFSharedInformer
(bpfClient dynamic.ResourceInterface, queue workqueue.RateLimitingInterface)
handlers/bpf.go:12
↓ 1 callers
Function
NewLoader
(filepath string)
loader/loader.go:25
↓ 1 callers
Function
NewService
(res *resources.BPF, corev1Client tcorev1.CoreV1Interface)
daemonset/service.go:17
↓ 1 callers
Method
Println
(v ...interface{})
cmd/runner/main.go:102
↓ 1 callers
Method
Setup
()
mapcollector/mapcollector.go:27
↓ 1 callers
Method
WithLogger
(logger *zap.Logger)
controller/bpf.go:47
↓ 1 callers
Function
exponentialRateLimiter
exponentialRateLimiter rate limiter applies an individual and an overeall rate limit
starter.go:114
↓ 1 callers
Function
getMapAttribute
getMapAttribute implements an ugly hack to grab map definition attributes.
loader/loader.go:13
↓ 1 callers
Method
handleErr
handleErr checks if an error happened and makes sure we will retry later.
controller/bpf.go:143
↓ 1 callers
Method
processNextItem
()
controller/bpf.go:78
↓ 1 callers
Method
reportDropped
(sn *v1alpha1.BPF)
controller/bpf.go:177
↓ 1 callers
Method
reportErrored
(sn *v1alpha1.BPF, message string)
controller/bpf.go:198
↓ 1 callers
Method
reportNewRetry
(sn *v1alpha1.BPF)
controller/bpf.go:184
↓ 1 callers
Function
run
()
cmd/operator/main.go:27
↓ 1 callers
Method
runInformers
(stopCh <-chan struct{}, wg *sync.WaitGroup)
starter.go:41
↓ 1 callers
Function
serve
(ctx context.Context)
cmd/runner/main.go:106
↓ 1 callers
Method
syncToStdout
(keysnap interface{})
controller/bpf.go:91
Method
Close
()
apis/v1alpha1/bpf.go:104
Method
Collect
(ch chan<- prometheus.Metric)
mapcollector/mapcollector.go:57
Method
Create
()
daemonset/daemonset.go:54
Method
Create
(obj *unstructured.Unstructured, subresources ...string)
apis/v1alpha1/bpf.go:45
Method
Decode
()
apis/v1alpha1/bpf.go:93
Method
DeepCopyObject
()
apis/v1alpha1/types.go:28
Method
DeepCopyObject
()
apis/v1alpha1/types.go:40
Method
DeepCopyObject
()
apis/v1alpha1/types.go:54
Function
Delete
(res *resources.BPF, appsv1Client tappsv1.AppsV1Interface)
daemonset/daemonset.go:156
Method
DeleteCollection
(deleteOptions *metav1.DeleteOptions, listOptions metav1.ListOptions)
apis/v1alpha1/bpf.go:41
Method
Describe
(ch chan<- *prometheus.Desc)
mapcollector/mapcollector.go:37
Method
GetObjectKind
()
apis/v1alpha1/types.go:24
Method
GetObjectKind
()
apis/v1alpha1/types.go:36
Method
GetObjectKind
()
apis/v1alpha1/types.go:50
Function
New
New creates a new operator
starter.go:51
Function
New
(path string, logger *zap.Logger)
mapcollector/mapcollector.go:13
Method
Patch
(name string, pt types.PatchType, data []byte, subresources ...string)
apis/v1alpha1/bpf.go:72
Method
Run
Run executes the operator loop
starter.go:101
Method
Run
(threadiness int, stopCh <-chan struct{}, wg *sync.WaitGroup)
controller/bpf.go:51
Function
TestLoader
(t *testing.T)
loader/loader_test.go:7
Method
Update
(obj *unstructured.Unstructured, subresources ...string)
apis/v1alpha1/bpf.go:50
Method
UpdateStatus
(obj *unstructured.Unstructured)
apis/v1alpha1/bpf.go:68
Method
Watch
(opts metav1.ListOptions)
apis/v1alpha1/bpf.go:56
Function
main
()
cmd/tools/genyaml/main.go:16
Function
main
()
cmd/runner/main.go:77
Function
main
()
cmd/operator/main.go:20
Method
reportInvalid
(sn *v1alpha1.BPF, message string)
controller/bpf.go:191
Method
runWorker
()
controller/bpf.go:73
Function
socket_prog
examples/pkts.c:31
Function
tracepoint__syscalls__sys_enter_write
examples/dummy.c:18