Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Reconciled condition tracks the state of the reconcile operation. // "True" indicates that the object has been successfully applied. // "False" indicates a non-transitive error prevents reconciliation from succeeding. StatusMessageReconciled = "Reconciled" // Deleted condition tracks the if deletion succeeded. // "True" indicates that the object has been successfully removed from the target. // "False" indicates that deletion is blocked or did not yet succeed. StatusMessageDeleted = "Deleted" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MessageMeta ¶
type ReconcileStatus ¶
type ReconcileStatus struct { // MAY when object exists/ // Object generation as observed on the target. // .metadata.generation ObservedGeneration int64 `json:"observedGeneration,omitempty"` // MAY when object exists. // RFC3339 Timestamp. // .metadata.creationTimestamp as observed on the target. CreationTimestamp *metav1.Time `json:"creationTimestamp,omitempty"` // Kubernetes style status conditions, // describing the state of the object on the target. Conditions []metav1.Condition `json:"conditions,omitempty"` }
type ResourceMessage ¶
type ResourceMessage struct { MessageMeta `json:",inline"` // Kubernetes Manifest to apply on the target. Content *unstructured.Unstructured `json:"content"` }
type StatusMessage ¶
type StatusMessage struct { MessageMeta `json:",inline"` // agent status information. ReconcileStatus ReconcileStatus `json:"reconcileStatus"` // content status as observed on the target. ContentStatus *runtime.RawExtension `json:"contentStatus"` }
Click to show internal directories.
Click to hide internal directories.