Documentation
¶
Overview ¶
Package validate mirrors Terraform locals.tf node-arch derivation and the homogeneous-cluster precondition so mixed-arch tfvars fail in offline tests without a live AWS plan.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DerivedNodeArch ¶
DerivedNodeArch returns amd64 or arm64 from the instance type alone.
func ExplicitArchMatchesInstance ¶
ExplicitArchMatchesInstance mirrors Terraform's guard that prevents selecting arm artifacts/AMIs for x86 instances or x86 artifacts/AMIs for Graviton.
func FirecrackerUpstreamArch ¶
FirecrackerUpstreamArch maps cluster arch to Firecracker release bucket arch.
func HomogeneousClusterArch ¶
HomogeneousClusterArch returns the single arch when all nodes agree, or "".
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.