pub enum FieldPath {
Show 18 variants
Name,
MeshIdentity,
TailscaleTag,
Replicas,
ImageTag,
Tier,
Volume(usize, &'static str),
ExposeMeshPort(u16),
MeshPort(usize),
Secret(usize, &'static str),
Healthcheck(&'static str),
RestartPolicy,
Image,
DependsOn(usize),
Hostname,
Resources,
AssetAlias(String),
Asset(usize, &'static str),
}Expand description
Identifies the field that caused a shape error or warning.
Structured as an enum so promoting to all-errors mode (collecting into
Vec<FieldError> instead of returning on the first hit) is mechanical.
Variants§
Name
MeshIdentity
TailscaleTag
Replicas
ImageTag
Tier
Volume(usize, &'static str)
volumes[index].<sub> — e.g. Volume(0, "source").
ExposeMeshPort(u16)
Public port not found in expose.mesh.ports.
MeshPort(usize)
expose.mesh.ports[index] — a malformed port declaration (R844-F17):
an empty entry, a bad name, or a name/number repeated within the list.
Secret(usize, &'static str)
secrets[index].<sub> — e.g. Secret(0, "target.path").
Healthcheck(&'static str)
healthcheck.<sub>.
RestartPolicy
Image
image — registry says the image/tag is unknown.
DependsOn(usize)
depends_on[index] — mesh ident is not a known deployed workload.
Hostname
expose.public.hostname — hostname is not in an owned CF zone.
Resources
resources — machine lacks sufficient capacity.
AssetAlias(String)
aliases[key] — alias target filename is not in the [[asset]] catalog.
Asset(usize, &'static str)
asset[index].<sub> — e.g. Asset(0, "source") for the XOR rule.