Skip to content

Commit 083a907

Browse files
authored
Add ConditionType to v2 api (#123)
Signed-off-by: Vu Dinh <[email protected]>
1 parent bb9b80e commit 083a907

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/operators/v2/operatorcondition_types.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ const (
99
Upgradeable string = "Upgradeable"
1010
)
1111

12+
// ConditionType codifies a condition's type.
13+
type ConditionType string
14+
1215
// OperatorConditionSpec allows an operator to report state to OLM and provides
1316
// cluster admin with the ability to manually override state reported by the operator.
1417
type OperatorConditionSpec struct {

0 commit comments

Comments
 (0)