MCPcopy Index your code
hub / github.com/coreos/afterburn

github.com/coreos/afterburn @v5.10.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v5.10.0 ↗ · + Follow
591 symbols 1,352 edges 66 files 99 documented · 17%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

Afterburn

crates.io minimum rust 1.75

Afterburn is a one-shot agent for cloud-like platforms which interacts with provider-specific metadata endpoints. It is typically used in conjunction with Ignition.

Features

It comprises several modules which may run at different times during the lifecycle of an instance.

Depending on the specific platform, the following services may run in the initramfs on first boot: * setting local hostname * injecting network command-line arguments

The following features are conditionally available on some platforms as systemd service units: * installing public SSH keys for local system users * retrieving attributes from instance metadata * checking in to the provider in order to report a successful boot or instance provisioning

Supported platforms

See Supported platforms.

Extension points exported contracts — how you extend this code

MetadataProvider (Interface)
(no doc) [27 implementers]
src/providers/mod.rs
Deserializer (Interface)
(no doc) [5 implementers]
src/retry/client.rs
NetworkManager (Interface)
(no doc)
src/util/dhcp.rs
NMActiveConnection (Interface)
(no doc)
src/util/dhcp.rs
NMDhcp4Config (Interface)
(no doc)
src/util/dhcp.rs

Core symbols most depended-on inside this repo

get
called by 57
src/retry/client.rs
mock_base_url
called by 50
src/retry/client.rs
send
called by 49
src/retry/client.rs
max_retries
called by 48
src/retry/mod.rs
header
called by 22
src/retry/client.rs
parse_metadata
called by 21
src/providers/vmware/amd64.rs
return_on_404
called by 19
src/retry/client.rs
from_reader
called by 13
src/retry/raw_deserializer.rs

Shape

Method 331
Function 143
Class 107
Enum 5
Interface 5

Languages

Rust100%

Modules by API surface

src/retry/raw_deserializer.rs32 symbols
src/retry/client.rs27 symbols
src/providers/ibmcloud_classic/mod.rs25 symbols
src/providers/microsoft/azure/mod.rs23 symbols
src/providers/mod.rs22 symbols
src/providers/openstack/configdrive.rs21 symbols
src/providers/microsoft/azurestack/mod.rs21 symbols
src/network.rs20 symbols
src/providers/kubevirt/mod.rs19 symbols
src/providers/akamai/mod.rs19 symbols
src/providers/powervs/mod.rs18 symbols
src/providers/packet/mod.rs18 symbols

For agents

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

⬇ download graph artifact