Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
allocation/v1alpha1
Package v1alpha1 contains API Schema definitions for the allocation v1alpha1 API group.
|
Package v1alpha1 contains API Schema definitions for the allocation v1alpha1 API group. |
|
laboratory/v1alpha1
Package v1alpha1 contains API Schema definitions for the laboratory v1alpha1 API group.
|
Package v1alpha1 contains API Schema definitions for the laboratory v1alpha1 API group. |
|
clientset
|
|
|
client/versioned/fake
This package has the automatically generated fake clientset.
|
This package has the automatically generated fake clientset. |
|
client/versioned/scheme
This package contains the scheme of the automatically generated clientset.
|
This package contains the scheme of the automatically generated clientset. |
|
client/versioned/typed/allocation/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
client/versioned/typed/allocation/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
client/versioned/typed/laboratory/v1alpha1
This package has the automatically generated typed clients.
|
This package has the automatically generated typed clients. |
|
client/versioned/typed/laboratory/v1alpha1/fake
Package fake has the automatically generated clients.
|
Package fake has the automatically generated clients. |
|
cmd
|
|
|
agent
command
agent is the gRPC management API image's binary.
|
agent is the gRPC management API image's binary. |
|
lab
command
lab is the per-lab-group image's binary: the VPN server and the internet gateway.
|
lab is the per-lab-group image's binary: the VPN server and the internet gateway. |
|
manager
command
manager is the operator image's binary.
|
manager is the operator image's binary. |
|
node
command
node is the per-node image's binary: node-agent, node-state, registry-gate, install-cni, netconfig, cni-gate, the lab checker (checker, checker-health) and the device access service (device-access, device-access-health).
|
node is the per-node image's binary: node-agent, node-state, registry-gate, install-cni, netconfig, cni-gate, the lab checker (checker, checker-health) and the device access service (device-access, device-access-health). |
|
ovs-diag
command
ovs-diag checks each step of moving an OVS internal port into a pod netns, comparing the library approach (vishvananda/netlink+netns) with the CLI (ip / nsenter).
|
ovs-diag checks each step of moving an OVS internal port into a pod netns, comparing the library approach (vishvananda/netlink+netns) with the CLI (ip / nsenter). |
|
probe
command
probe is the readiness probe of a device pod (see package internal/probe).
|
probe is the readiness probe of a device pod (see package internal/probe). |
|
proxy
command
proxy is the internet-facing image's binary: `proxy proxy-l7` and `proxy proxy-wg`.
|
proxy is the internet-facing image's binary: `proxy proxy-l7` and `proxy proxy-wg`. |
|
hack
|
|
|
kind-demux/headprog
command
Command headprog is a helper of the demux e2e (hack/kind-demux/e2e.sh): it puts a program that only hands packets on (TCX_NEXT) at the head of a device's tcx ingress and egress, in front of the demux's programs, and takes it away again.
|
Command headprog is a helper of the demux e2e (hack/kind-demux/e2e.sh): it puts a program that only hands packets on (TCX_NEXT) at the head of a device's tcx ingress and egress, in front of the demux's programs, and takes it away again. |
|
internal
|
|
|
activity
Package activity keeps the raw activity facts one process of the laboratory hands, through the agent API, to the platform that runs it (the daemon): internet egress, console sessions, devices touched over the VPN.
|
Package activity keeps the raw activity facts one process of the laboratory hands, through the agent API, to the platform that runs it (the daemon): internet egress, console sessions, devices touched over the VPN. |
|
admissioncheck
Package admissioncheck lets the operator verify, before it works, that the chart's admission policies are really enforced on its ServiceAccount.
|
Package admissioncheck lets the operator verify, before it works, that the chart's admission policies are really enforced on its ServiceAccount. |
|
bandwidth
Package bandwidth is the bandwidth protection of the laboratory: how much a node can carry, how that is divided between the entry (demux and L7 proxy), the internet (the gateways) and the Geneve fabric, and the token buckets the pods use to keep to it.
|
Package bandwidth is the bandwidth protection of the laboratory: how much a node can carry, how that is divided between the entry (demux and L7 proxy), the internet (the gateways) and the Geneve fabric, and the token buckets the pods use to keep to it. |
|
cmds/checkerd
Package checkerd is the lab checker: a DaemonSet of its own (apart from the node-agent) that runs the checks of the labs whose device pods are on its node and writes the results into the Lab status.
|
Package checkerd is the lab checker: a DaemonSet of its own (apart from the node-agent) that runs the checks of the labs whose device pods are on its node and writes the results into the Lab status. |
|
cmds/deviceaccessd
Package deviceaccessd is the device access service as a command of the node image (`/node device-access`): a DaemonSet on the lab nodes, the only component that holds the container runtime socket.
|
Package deviceaccessd is the device access service as a command of the node image (`/node device-access`): a DaemonSet on the lab nodes, the only component that holds the container runtime socket. |
|
cmds/netconfig
netconfig is the device init-container helper.
|
netconfig is the device init-container helper. |
|
cmds/nodestated
Package nodestated is the node-state DaemonSet: the part of the node's work that needs the container runtime's files and the host's cgroups and is not pod networking.
|
Package nodestated is the node-state DaemonSet: the part of the node's work that needs the container runtime's files and the host's cgroups and is not pod networking. |
|
cmds/registrygated
Package registrygated is the registry gate: a container of the registry pod, in front of zot.
|
Package registrygated is the registry gate: a container of the registry pod, in front of zot. |
|
cputhrottle
Package cputhrottle measures how much the CPU limit of a container holds it back: the share of the CFS periods in which the container was throttled, over a sliding window of a few minutes, from the cpu.stat of its cgroup (v2).
|
Package cputhrottle measures how much the CPU limit of a container holds it back: the share of the CFS periods in which the container was throttled, over a sliding window of a few minutes, from the cpu.stat of its cgroup (v2). |
|
crdcheck
Package crdcheck lets the agent and the operator refuse to start against CRDs that are older than they are.
|
Package crdcheck lets the agent and the operator refuse to start against CRDs that are older than they are. |
|
deviceaccess
Package deviceaccess is the device access service: the one component on a lab node that holds the container runtime socket and opens a shell (a console) or moves a file in a lab device on behalf of the L7 proxy.
|
Package deviceaccess is the device access service: the one component on a lab node that holds the container runtime socket and opens a shell (a console) or moves a file in a lab device on behalf of the L7 proxy. |
|
deviceaccess/wire
Package wire is the framing of a console stream.
|
Package wire is the framing of a console stream. |
|
deviceplugin
Package deviceplugin is the kubelet device plugin of the node-agent.
|
Package deviceplugin is the kubelet device plugin of the node-agent. |
|
devices
Package devices names and finds the Device objects of a lab.
|
Package devices names and finds the Device objects of a lab. |
|
devicestate
Package devicestate is the node-agent side of device state persistence: it follows the snapshot-backed device containers of a node, detects changes of their writable layer, and turns them into snapshot images in the platform registry.
|
Package devicestate is the node-agent side of device state persistence: it follows the snapshot-backed device containers of a node, detects changes of their writable layer, and turns them into snapshot images in the platform registry. |
|
edaroute
Package edaroute keeps the EDA interface of a web-exposed device pod out of the pod's main routing table.
|
Package edaroute keeps the EDA interface of a web-exposed device pod out of the pod's main routing table. |
|
egress
Package egress holds what a lab can never reach through its internet gateway.
|
Package egress holds what a lab can never reach through its internet gateway. |
|
errorlog
Package errorlog is the laboratory's own error journal: every component (operator, node-agent, L7 proxy, wg-demux, VPN and gateway pods, the agent) counts its errors by a normalized fingerprint, keeps a few recent messages and publishes the aggregate as a Kubernetes Event that the management agent reads and forwards in MonitoringUpdate.errors.
|
Package errorlog is the laboratory's own error journal: every component (operator, node-agent, L7 proxy, wg-demux, VPN and gateway pods, the agent) counts its errors by a normalized fingerprint, keeps a few recent messages and publishes the aggregate as a Kubernetes Event that the management agent reads and forwards in MonitoringUpdate.errors. |
|
gatewayspec
Package gatewayspec checks what a Lab declares as gateways (spec.gateways).
|
Package gatewayspec checks what a Lab declares as gateways (spec.gateways). |
|
grant
Package grant is the access grant: one compact JWS the platform of a tenant signs for one device host, and the only credential a browser holds for a web or console session.
|
Package grant is the access grant: one compact JWS the platform of a tenant signs for one device host, and the only credential a browser holds for a web or console session. |
|
grant/granttest
Package granttest signs grants for tests.
|
Package granttest signs grants for tests. |
|
grouppods
Package grouppods holds the resources of the pods a LabGroup runs itself, the VPN and the internet gateway.
|
Package grouppods holds the resources of the pods a LabGroup runs itself, the VPN and the internet gateway. |
|
health
Package health holds the readiness checks the platform's processes share: "ready" means the process really serves (its listener is up and its informer caches have synced), not merely that it started.
|
Package health holds the readiness checks the platform's processes share: "ready" means the process really serves (its listener is up and its informer caches have synced), not merely that it started. |
|
imagecache
Package imagecache rewrites image references so the nodes pull them through the platform's in-cluster image cache (the registry gate in front of zot).
|
Package imagecache rewrites image references so the nodes pull them through the platform's in-cluster image cache (the registry gate in front of zot). |
|
imagepolicy
Package imagepolicy decides whether a tenant may use an image: a per-tenant allow list and a platform deny list of "registry/repository-prefix" entries, and the refusal of references that already point at the platform's image cache.
|
Package imagepolicy decides whether a tenant may use an image: a per-tenant allow list and a platform deny list of "registry/repository-prefix" entries, and the refusal of references that already point at the platform's image cache. |
|
imagepull
Package imagepull pulls images onto a node through the container runtime's image service (CRI), for the node-agent.
|
Package imagepull pulls images onto a node through the container runtime's image service (CRI), for the node-agent. |
|
keylock
Package keylock is a set of mutexes addressed by a string key.
|
Package keylock is a set of mutexes addressed by a string key. |
|
labchecks
Package labchecks is the contract of device bootstrap and lab checks: the secret documents the management agent writes (Secret <device>-bootstrap, key bootstrap.json; Secret <lab>-checks, key checks.json), the limits on them and the validation the agent applies before anything is written.
|
Package labchecks is the contract of device bootstrap and lab checks: the secret documents the management agent writes (Secret <device>-bootstrap, key bootstrap.json; Secret <lab>-checks, key checks.json), the limits on them and the validation the agent applies before anything is written. |
|
launcher
Package launcher is the first process of a device container that has a bootstrap list or a service command of its own.
|
Package launcher is the first process of a device container that has a bootstrap list or a service command of its own. |
|
limits
Package limits holds the caps the cluster owns on devices, labs and tenants.
|
Package limits holds the caps the cluster owns on devices, labs and tenants. |
|
multicall
Package multicall routes one binary to several components of the same domain: the first argument selects the component, or the name the binary is invoked as (for example the cni-gate copy that the node-agent installs on the host).
|
Package multicall routes one binary to several components of the same domain: the first argument selects the component, or the name the binary is invoked as (for example the cni-gate copy that the node-agent installs on the host). |
|
netattach
Package netattach holds the rules of the device network interfaces and the encoding of the network.cybericebox.com/networks pod annotation shared by the operator (writer), the management agent (validation) and the node-agent (reader).
|
Package netattach holds the rules of the device network interfaces and the encoding of the network.cybericebox.com/networks pod annotation shared by the operator (writer), the management agent (validation) and the node-agent (reader). |
|
netguard
Package netguard keeps a client from being led to an internal address by a redirect: the check of a redirect target, the dialer that refuses internal addresses when it connects (after the name is resolved, so DNS rebinding cannot pass), and a RoundTripper for clients that follow redirects themselves.
|
Package netguard keeps a client from being led to an internal address by a redirect: the check of a redirect target, the dialer that refuses internal addresses when it connects (after the name is resolved, so DNS rebinding cannot pass), and a RoundTripper for clients that follow redirects themselves. |
|
netguard/netguardtest
Package netguardtest is for tests: a resolver that names a loopback address for any host name.
|
Package netguardtest is for tests: a resolver that names a loopback address for any host name. |
|
nodeagent/ofclient
Package ofclient implements a minimal OpenFlow 1.3 client over a Unix socket.
|
Package ofclient implements a minimal OpenFlow 1.3 client over a Unix socket. |
|
nodecap
Package nodecap holds the node eligibility rule shared by the operator's scheduler and the management agent: which nodes lab pods can run on.
|
Package nodecap holds the node eligibility rule shared by the operator's scheduler and the management agent: which nodes lab pods can run on. |
|
nstest
Package nstest builds small network topologies out of Linux network namespaces for tests of real iptables rules.
|
Package nstest builds small network topologies out of Linux network namespaces for tests of real iptables rules. |
|
podinput
Package podinput is the INPUT policy of the VPN pod and the internet gateway pod.
|
Package podinput is the INPUT policy of the VPN pod and the internet gateway pod. |
|
probe
Package probe is the readiness probe of a device pod.
|
Package probe is the readiness probe of a device pod. |
|
profiles
Package profiles is the fixed catalog of device security profiles.
|
Package profiles is the fixed catalog of device security profiles. |
|
proxy/demux/fastpath
Package fastpath is the in-kernel fast path of the WireGuard demux (modes tc and xdp): the eBPF programs of wg_fastpath.bpf.c, which forward transport packets of known sessions, and the pinned maps the demux keeps them in.
|
Package fastpath is the in-kernel fast path of the WireGuard demux (modes tc and xdp): the eBPF programs of wg_fastpath.bpf.c, which forward transport packets of known sessions, and the pinned maps the demux keeps them in. |
|
reconcileutil
Package reconcileutil holds what every controller of the operator and the node-agent shares.
|
Package reconcileutil holds what every controller of the operator and the node-agent shares. |
|
registrygate
Package registrygate is the gate in front of the platform registry (zot): the one component every request to the registry passes.
|
Package registrygate is the gate in front of the platform registry (zot): the one component every request to the registry passes. |
|
snapshot
Package snapshot holds the platform-independent logic of device state persistence: which paths are kept, the size quota, the layer chain rules and the tar plumbing that filters and squashes snapshot layers.
|
Package snapshot holds the platform-independent logic of device state persistence: which paths are kept, the size quota, the layer chain rules and the tar plumbing that filters and squashes snapshot layers. |
|
status
Package status provides shared helpers for setting Kubernetes-style status Conditions and emitting Events, so reconciler wait/failure states are visible via `kubectl describe` instead of being silent forever-requeues.
|
Package status provides shared helpers for setting Kubernetes-style status Conditions and emitting Events, so reconciler wait/failure states are visible via `kubectl describe` instead of being silent forever-requeues. |
|
switches
Package switches holds the feature switches of the laboratory (the chart's vpn.enabled, inetGateway.enabled, proxy.enabled with its rdp, vnc and terminal accesses, checks.enabled) and the one rule that says what a Lab may ask for under them.
|
Package switches holds the feature switches of the laboratory (the chart's vpn.enabled, inetGateway.enabled, proxy.enabled with its rdp, vnc and terminal accesses, checks.enabled) and the one rule that says what a Lab may ask for under them. |
|
tenant
Package tenant holds the pure rules of the Tenant resource shared by the management agent and the operator: the quota (absolute or percent) and the persistence limits.
|
Package tenant holds the pure rules of the Tenant resource shared by the management agent and the operator: the quota (absolute or percent) and the persistence limits. |
|
vniledger
Package vniledger is the record, per node, of the VNIs the node has flows for.
|
Package vniledger is the record, per node, of the VNIs the node has flows for. |
|
vpn/flowacct
Package flowacct counts, and never inspects, the connections that VPN clients open to the lab networks of one group.
|
Package flowacct counts, and never inspects, the connections that VPN clients open to the lab networks of one group. |
|
pkg
|
|
|
agent/client
Package client is a thin, ready-to-use gRPC client for the LabManager agent.
|
Package client is a thin, ready-to-use gRPC client for the LabManager agent. |
|
names
Package names holds the names of the laboratory that callers outside it (the daemon) need.
|
Package names holds the names of the laboratory that callers outside it (the daemon) need. |
|
runtime
Package runtime configures Go runtime parameters for containerised deployments.
|
Package runtime configures Go runtime parameters for containerised deployments. |
|
statuspage
Package statuspage is the one look of the small static pages the laboratory serves to a browser: the VPN check page inside the tunnel and the proxy's error cards.
|
Package statuspage is the one look of the small static pages the laboratory serves to a browser: the VPN check page inside the tunnel and the proxy's error cards. |
|
tlsreload
Package tlsreload serves certificates that cert-manager renews in place: the key pair and the CA bundle are re-read from the mounted files when they change, so a renewal never needs a pod restart.
|
Package tlsreload serves certificates that cert-manager renews in place: the key pair and the CA bundle are re-read from the mounted files when they change, so a renewal never needs a pod restart. |
|
vpnprobe
Package vpnprobe defines the address of the tunnel-only connection check.
|
Package vpnprobe defines the address of the tunnel-only connection check. |
|
test
|
|
Click to show internal directories.
Click to hide internal directories.