Skip to main content

Module templates

Module templates 

Source

Structs§

Port
One port the consumer needs to reach to use the workload.
TemplateDefinition
Full definition of a template. The consumer-visible defaults (tier, replication) and the operator-visible facts (image, ports, env, compose_path).

Enums§

ReplicationMode
Replication mode at the template-default level — “what does the workload’s recovery model look like, before consumer overrides?”. Distinct from durable_workload::ReplicationMode (which carries runtime data like the standby provider list) and cli::commands::deploy::ReplicationMode (the CLI flag enum). This one is a const-friendly tag for template tables.
TemplateName
Templates the marketplace knows about. Adding one is a compatibility-bearing decision: consumers may pin by name.

Functions§

template_default_encrypts_volume
Default policy for --encrypt-volume on the spawn CLI: should the consumer’s data volume be LUKS-encrypted at rest unless they explicitly pass --no-encrypt-volume?