WarehouseStatus describes a Warehouse's most recently observed state.
| 331 | |
| 332 | // WarehouseStatus describes a Warehouse's most recently observed state. |
| 333 | type 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. |
| 357 | func (w *WarehouseStatus) GetConditions() []metav1.Condition { |
nothing calls this directly
no outgoing calls
no test coverage detected