Documentation
¶
Overview ¶
Package socketfence installs the operator-enabled Unix API boundary. Pins are intentionally independent of the service lifetime; Close never detaches it.
Index ¶
Constants ¶
View Source
const Capability = "bpf-lsm-unix-v1"
View Source
const CgroupRoot = "/sys/fs/cgroup/agent-workflow"
View Source
const PinRoot = "/sys/fs/bpf/agent-workflow"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Boundary ¶
func Install ¶
func Install(identity string, generation uint64, paths []string, authentication []Socket) (*Boundary, error)
Install runs only at explicit operator start, before launch admission opens. paths are runtime-owned sockets; authentication must retain registered identities.
type Socket ¶
type State ¶
type State struct {
Identity string `json:"identity"`
Generation uint64 `json:"generation"`
Cgroup string `json:"cgroup"`
CgroupID uint64 `json:"cgroup_id"`
Pins string `json:"pins"`
Programs map[string]uint32 `json:"programs"`
Maps map[string]uint32 `json:"maps"`
Sockets []Socket `json:"sockets"`
}
Click to show internal directories.
Click to hide internal directories.