Documentation
¶
Index ¶
Constants ¶
View Source
const ( OperationStatusPending OperationStatus = "Pending" OperationStatusProgressing OperationStatus = "Progressing" OperationStatusCompleted OperationStatus = "Completed" OperationStatusFailed OperationStatus = "Failed" OperationTypeCreate OperationType = "Create" OperationTypeUpdate OperationType = "Update" OperationTypeDelete OperationType = "Delete" OperationTypeApply OperationType = "Apply" OperationTypeRecreate OperationType = "Recreate" OperationTypeTrackReadiness OperationType = "TrackReadiness" OperationTypeTrackPresence OperationType = "TrackPresence" OperationTypeTrackAbsence OperationType = "TrackAbsence" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectRef ¶
type ObjectRef struct {
schema.GroupVersionKind
Name string `json:"name"`
Namespace string `json:"namespace"`
}
type Operation ¶
type Operation struct {
OperationRef
Status OperationStatus `json:"status"`
WaitingFor []OperationRef `json:"waitingFor"`
}
type OperationRef ¶ added in v1.23.0
type OperationRef struct {
ObjectRef
Type OperationType `json:"type"`
Iteration int `json:"iteration"`
}
type OperationStatus ¶
type OperationStatus string
type OperationType ¶
type OperationType string
type ProgressReport ¶
type ProgressReport struct {
StageReports []StageReport `json:"stageReports"`
}
ProgressReport contains stage reports ordered chronologically; the last element is the currently active stage.
type StageReport ¶
type StageReport struct {
Operations []Operation `json:"operations"`
}
StageReport contains ALL operations in the plan -- from the very first report, every operation is present (initially as Pending).
Click to show internal directories.
Click to hide internal directories.