Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1alpha1
Package v1alpha1 contains API Schema definitions for the podtrace.io v1alpha1 API group.
|
Package v1alpha1 contains API Schema definitions for the podtrace.io v1alpha1 API group. |
|
cmd
|
|
|
podtrace
command
|
|
|
hack
|
|
|
bpfloadtest
command
|
|
|
crdcompat
command
Command crdcompat compares two sets of generated CRD manifests and reports schema changes that break existing objects: a field that disappears from a served version, or one whose type changes.
|
Command crdcompat compares two sets of generated CRD manifests and reports schema changes that break existing objects: a field that disappears from a served version, or one whose type changes. |
|
internal
|
|
|
agent
Package agent implements the per-node DaemonSet runtime of podtrace.
|
Package agent implements the per-node DaemonSet runtime of podtrace. |
|
attribution
Package attribution maintains a short-lived map from host PID to the process identity (comm, cgroup) most recently captured in kernel context, so events produced by BPF program types that cannot call bpf_get_current_comm — the cgroup_skb DNS and QUIC probes, can be attributed at ingest while the owning process is still alive, instead of through a deferred /proc lookup that races process exit and pid recycling.
|
Package attribution maintains a short-lived map from host PID to the process identity (comm, cgroup) most recently captured in kernel context, so events produced by BPF program types that cannot call bpf_get_current_comm — the cgroup_skb DNS and QUIC probes, can be attributed at ingest while the owning process is still alive, instead of through a deferred /proc lookup that races process exit and pid recycling. |
|
clock
Package clock anchors BPF timestamps to wall-clock time.
|
Package clock anchors BPF timestamps to wall-clock time. |
|
dns
Package dns parses DNS wire-format messages in userspace.
|
Package dns parses DNS wire-format messages in userspace. |
|
ebpf/h3decode
Package h3decode turns one HTTP/3 transaction record (emitted by bpf/http3l7.c from the net/http boundary, or by bpf/nghttp3.c) into EventHTTPReq / EventHTTPResp events.
|
Package h3decode turns one HTTP/3 transaction record (emitted by bpf/http3l7.c from the net/http boundary, or by bpf/nghttp3.c) into EventHTTPReq / EventHTTPResp events. |
|
ebpf/h3stream
Package h3stream reassembles inbound HTTP/3 stream bytes captured by the C-library adapter probes (struct h3_stream_chunk from bpf/nghttp3.c) and decodes the QPACK field sections.
|
Package h3stream reassembles inbound HTTP/3 stream bytes captured by the C-library adapter probes (struct h3_stream_chunk from bpf/nghttp3.c) and decodes the QPACK field sections. |
|
ebpf/qpackdecode
Package qpackdecode implements a passive QPACK decoder (RFC 9204) for observed HTTP/3 traffic.
|
Package qpackdecode implements a passive QPACK decoder (RFC 9204) for observed HTTP/3 traffic. |
|
ebpf/quicinitial
Package quicinitial extracts the SNI (server name) and ALPN from a QUIC v1 or v2 Initial packet.
|
Package quicinitial extracts the SNI (server name) and ALPN from a QUIC v1 or v2 Initial packet. |
|
ebpf/safeelf
Package safeelf parses attacker-controlled ELF binaries, a traced pod's own executable and debug files, within hard resource caps and with panic recovery, so a hostile binary cannot OOM or crash the privileged agent.
|
Package safeelf parses attacker-controlled ELF binaries, a traced pod's own executable and debug files, within hard resource caps and with panic recovery, so a hostile binary cannot OOM or crash the privileged agent. |
|
fleet
Package fleet resolves which agent fleet — that is, which TracerConfig — targets which node.
|
Package fleet resolves which agent fleet — that is, which TracerConfig — targets which node. |
|
hostfs
Package hostfs provides explicit, audited access to filesystem paths that intentionally cross trust boundaries.
|
Package hostfs provides explicit, audited access to filesystem paths that intentionally cross trust boundaries. |
|
imagepolicy
Package imagepolicy validates container image references against an admin-controlled allowlist of trusted repositories.
|
Package imagepolicy validates container image references against an admin-controlled allowlist of trusted repositories. |
|
kubernetes/nodespawn
Package nodespawn lets the podtrace CLI run eBPF on the target pod's node instead of the user's workstation.
|
Package nodespawn lets the podtrace CLI run eBPF on the target pod's node instead of the user's workstation. |
|
ldsoconf
Package ldsoconf reads dynamic-linker search-path configuration from /etc/ld.so.conf and /etc/ld.so.conf.d/*.conf using a scoped os.Root.
|
Package ldsoconf reads dynamic-linker search-path configuration from /etc/ld.so.conf and /etc/ld.so.conf.d/*.conf using a scoped os.Root. |
|
netguard
Package netguard hardens outbound HTTP made on behalf of tenant-supplied exporter endpoints.
|
Package netguard hardens outbound HTTP made on behalf of tenant-supplied exporter endpoints. |
|
operator
Package operator implements the podtrace Kubernetes operator's control plane: three reconcilers that watch TracerConfig, PodTrace, and PodTraceSession CRs and drive the corresponding infrastructure.
|
Package operator implements the podtrace Kubernetes operator's control plane: three reconcilers that watch TracerConfig, PodTrace, and PodTraceSession CRs and drive the corresponding infrastructure. |
|
procfs
Package procfs offers scoped read access to the procfs filesystem.
|
Package procfs offers scoped read access to the procfs filesystem. |
|
procmaps
Package procmaps parses /proc/<pid>/maps.
|
Package procmaps parses /proc/<pid>/maps. |
|
reportsink/objectstore
Package objectstore uploads PodTraceSession reports to cloud object storage (S3, GCS, Azure Blob).
|
Package objectstore uploads PodTraceSession reports to cloud object storage (S3, GCS, Azure Blob). |
|
safeconv
Package safeconv provides bounds-checked integer conversions.
|
Package safeconv provides bounds-checked integer conversions. |
|
sanitize
Package sanitize scrubs attacker-influenced strings before they are rendered into human-facing text (diagnose reports) that an operator may view in a terminal.
|
Package sanitize scrubs attacker-influenced strings before they are rendered into human-facing text (diagnose reports) that an operator may view in a terminal. |
|
sysfs
Package sysfs offers scoped read access to the cgroup filesystem and other directories under /sys.
|
Package sysfs offers scoped read access to the cgroup filesystem and other directories under /sys. |
|
usdt
Package usdt provides ELF USDT (Userspace Statically Defined Tracing) probe discovery by parsing .note.stapsdt sections in ELF binaries.
|
Package usdt provides ELF USDT (Userspace Statically Defined Tracing) probe discovery by parsing .note.stapsdt sections in ELF binaries. |
|
webhook/v1alpha1
Package v1alpha1 holds the admission webhook validators for the podtrace.io/v1alpha1 API types.
|
Package v1alpha1 holds the admission webhook validators for the podtrace.io/v1alpha1 API types. |
|
pkg
|
|
|
client/clientset/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
client/clientset/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
client/clientset/versioned/typed/api/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
client/clientset/versioned/typed/api/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
exporter/bundle
Package bundle defines the wire format for exporter configuration that travels between the podtrace operator, agent, and CLI.
|
Package bundle defines the wire format for exporter configuration that travels between the podtrace operator, agent, and CLI. |
|
tracer
Package tracer defines the stable boundary between podtrace's three operational modes (CLI, agent DaemonSet, session Job) and the eBPF tracing core implemented under internal/ebpf.
|
Package tracer defines the stable boundary between podtrace's three operational modes (CLI, agent DaemonSet, session Job) and the eBPF tracing core implemented under internal/ebpf. |
Click to show internal directories.
Click to hide internal directories.