Skip to content

Commit 532e296

Browse files
authored
feat: add route condition types and struct (#36)
1 parent b7c11d9 commit 532e296

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

rollout/v1alpha1/shared_types.go

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,3 +116,13 @@ type CanaryProgressingInfo struct{}
116116
type BatchProgressingInfo struct {
117117
CurrentBatchIndex int32 `json:"currentBatchIndex"`
118118
}
119+
120+
const (
121+
RouteConditionTypeReady = "Ready"
122+
RouteConditionTypeSynced = "Synced"
123+
)
124+
125+
// RouteConditionExtension contains the conditions of route
126+
type RouteConditionExtension struct {
127+
Conditions []metav1.Condition `json:"conditions,omitempty"`
128+
}

0 commit comments

Comments
 (0)