Documentation
¶
Overview ¶
Package agentspecbackfillcr owns the structural, canonical AgentSpecBackfill request and status wires.
Index ¶
Constants ¶
const ( // APIVersion is the sole structural AgentSpecBackfill API version. APIVersion = "runtime.0x63616c.dev/v1alpha1" // Kind is the sole structural AgentSpecBackfill kind. Kind = "AgentSpecBackfill" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Metadata ¶
Metadata is the bounded structural metadata accepted for one AgentSpecBackfill resource.
type Request ¶
type Request struct {
APIVersion string
Kind string
Metadata Metadata
Spec agentspecbackfill.Request
}
Request is the immutable structural AgentSpecBackfill request. Its Spec reuses the canonical backfill request.
func NewRequest ¶
func NewRequest(spec agentspecbackfill.Request) (Request, error)
NewRequest creates the sole canonical initial AgentSpecBackfill request for a validated immutable spec.
func ParseRequest ¶
ParseRequest decodes exactly one bounded canonical AgentSpecBackfill request wire.
func (Request) ValidateImmutableMutation ¶
ValidateImmutableMutation refuses any changed request metadata or spec.
type Status ¶
type Status struct {
Phase agentspecbackfill.Phase
RequestUID string
ObservedGeneration uint64
ControllerImageDigest string
RequestDigest string
SnapshotFingerprint string
SnapshotCount uint64
ManifestDigest string
StaticReadinessDigest string
VerifiedCount uint64
Reason agentspecbackfill.Reason
CompletedAt time.Time
}
Status is the bounded controller-owned structural AgentSpecBackfill result.
func ParseStatus ¶
ParseStatus decodes exactly one bounded canonical AgentSpecBackfill status wire.
func (Status) CanonicalFor ¶
CanonicalFor returns the bounded canonical JSON status wire after validating it against its immutable request.
func (Status) ValidateFor ¶
ValidateFor proves a status is bounded and exactly bound to one observed immutable request.