pub enum FieldPath {
}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.
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.
Trait Implementations§
impl StructuralPartialEq for FieldPath
Auto Trait Implementations§
impl Freeze for FieldPath
impl RefUnwindSafe for FieldPath
impl Send for FieldPath
impl Sync for FieldPath
impl Unpin for FieldPath
impl UnsafeUnpin for FieldPath
impl UnwindSafe for FieldPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more