MCPcopy
hub / github.com/akuity/kargo / WarehouseStatus

Struct WarehouseStatus

api/v1alpha1/warehouse_types.go:333–354  ·  view source on GitHub ↗

WarehouseStatus describes a Warehouse's most recently observed state.

Source from the content-addressed store, hash-verified

331
332// WarehouseStatus describes a Warehouse's most recently observed state.
333type WarehouseStatus struct {
334 // Conditions contains the last observations of the Warehouse's current
335 // state.
336 // +patchMergeKey=type
337 // +patchStrategy=merge
338 // +listType=map
339 // +listMapKey=type
340 Conditions []metav1.Condition `json:"conditions,omitempty" patchMergeKey:"type" patchStrategy:"merge" protobuf:"bytes,9,rep,name=conditions"`
341 // LastHandledRefresh holds the value of the most recent AnnotationKeyRefresh
342 // annotation that was handled by the controller. This field can be used to
343 // determine whether the request to refresh the resource has been handled.
344 // +optional
345 LastHandledRefresh string `json:"lastHandledRefresh,omitempty" protobuf:"bytes,6,opt,name=lastHandledRefresh"`
346 // ObservedGeneration represents the .metadata.generation that this Warehouse
347 // was reconciled against.
348 ObservedGeneration int64 `json:"observedGeneration,omitempty" protobuf:"varint,4,opt,name=observedGeneration"`
349 // LastFreightID is a reference to the system-assigned identifier (name) of
350 // the most recent Freight produced by the Warehouse.
351 LastFreightID string `json:"lastFreightID,omitempty" protobuf:"bytes,8,opt,name=lastFreightID"`
352 // DiscoveredArtifacts holds the artifacts discovered by the Warehouse.
353 DiscoveredArtifacts *DiscoveredArtifacts `json:"discoveredArtifacts,omitempty" protobuf:"bytes,7,opt,name=discoveredArtifacts"`
354}
355
356// GetConditions implements the conditions.Getter interface.
357func (w *WarehouseStatus) GetConditions() []metav1.Condition {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected