Skip to main content

generate_container_manifest

Function generate_container_manifest 

Source
pub fn generate_container_manifest(
    contract: &DeploymentContract,
) -> Result<String, String>
Available on crate feature deployment only.
Expand description

Generate a container manifest JSON for CI consumption.

This is the minimal subset of the deployment contract that CI needs to build the container image. No secrets, no K8s-specific config.

ยงErrors

Returns an error string if JSON serialisation fails.