From da989f2295cc72b0e380074a626486758ee07ee0 Mon Sep 17 00:00:00 2001 From: Vu Dinh Date: Wed, 26 May 2021 15:29:33 -0400 Subject: [PATCH] Add ConditionType to v2 api Signed-off-by: Vu Dinh --- pkg/operators/v2/operatorcondition_types.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkg/operators/v2/operatorcondition_types.go b/pkg/operators/v2/operatorcondition_types.go index 681ee308d..ef1c56de6 100644 --- a/pkg/operators/v2/operatorcondition_types.go +++ b/pkg/operators/v2/operatorcondition_types.go @@ -9,6 +9,9 @@ const ( Upgradeable string = "Upgradeable" ) +// ConditionType codifies a condition's type. +type ConditionType string + // OperatorConditionSpec allows an operator to report state to OLM and provides // cluster admin with the ability to manually override state reported by the operator. type OperatorConditionSpec struct {