MCPcopy Index your code
hub / github.com/containers/containrs

github.com/containers/containrs @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
898 symbols 1,691 edges 86 files 284 documented · 32%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

PodNetwork (Interface)
Common network behavior trait [2 implementers]
crates/network/src/lib.rs
KeyValueStorage (Interface)
The data storage trait which defines the methods a storage implementation should fulfill. [2 implementers]
crates/storage/src/lib.rs
Container (Interface)
Container is the trait for implementing possible interactions with an OCI compatible container. [1 implementers]
crates/container/src/container/mod.rs
OptionStatus (Interface)
Option to Status transformer for less verbose request unpacking. [1 implementers]
crates/services/src/cri/cri_service.rs
Pod (Interface)
(no doc) [2 implementers]
crates/sandbox/src/lib.rs
RuntimeService (Interface)
(no doc)
tests/src/criapi/runtime.v1alpha2.rs
Exec (Interface)
The CNI command execution trait. [2 implementers]
crates/network/src/cni/exec.rs
ExecCommand (Interface)
(no doc) [2 implementers]
crates/container/src/oci_runtime.rs

Core symbols most depended-on inside this repo

write_kv
called by 85
crates/container/src/oci_runtime.rs
clone
called by 74
crates/services/src/cri/api/runtime.v1alpha2.rs
map_err
called by 61
crates/services/src/cri/cri_service.rs
clone
called by 58
tests/src/criapi/runtime.v1alpha2.rs
ready
called by 54
crates/sandbox/src/lib.rs
to_iptables
called by 31
crates/network/src/cni/iptables.rs
clone
called by 28
crates/network/src/cni/plugin.rs
debug_request
called by 27
crates/services/src/cri/cri_service.rs

Shape

Class 334
Method 330
Function 176
Enum 41
Interface 17

Languages

Rust100%
C++1%

Modules by API surface

tests/src/criapi/runtime.v1alpha2.rs182 symbols
crates/services/src/cri/api/runtime.v1alpha2.rs182 symbols
crates/network/src/cni/iptables.rs80 symbols
crates/container/src/oci_runtime.rs33 symbols
crates/network/src/cni/plugin.rs30 symbols
crates/services/src/cri/runtime_service/mod.rs22 symbols
crates/network/src/cni/mod.rs22 symbols
crates/sandbox/src/lib.rs21 symbols
crates/network/src/cni/port.rs20 symbols
crates/network/src/cni/config.rs20 symbols
crates/common/src/seccomp.rs19 symbols
crates/sandbox/src/pinns.rs18 symbols

For agents

$ claude mcp add containrs \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact