progrep

package
v1.23.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

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).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL