conditions

package
v0.0.0-...-0c953da Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ReconcileProcessing              = ReasonMessage{"ReconcileProcessing", "Reconcile processing", metav1.ConditionUnknown}
	ReconcileSucceeded               = ReasonMessage{"ReconcileSucceeded", "Reconciliation succeeded", metav1.ConditionTrue}
	ReconcileFailed                  = ReasonMessage{"ReconcileFailed", "Reconciliation failed", metav1.ConditionFalse}
	OlderCRExists                    = ReasonMessage{"OlderCRExists", "API Gateway CR is not the oldest one and does not represent the module state", metav1.ConditionFalse}
	CustomResourceMisconfigured      = ReasonMessage{"CustomResourceMisconfigured", "API Gateway CR has invalid configuration", metav1.ConditionFalse}
	DependenciesMissing              = ReasonMessage{"DependenciesMissing", "Module dependencies missing", metav1.ConditionFalse}
	KymaGatewayReconcileSucceeded    = ReasonMessage{"KymaGatewayReconcileSucceeded", "Kyma Gateway reconciliation succeeded", metav1.ConditionFalse}
	KymaGatewayReconcileFailed       = ReasonMessage{"KymaGatewayReconcileFailed", "Kyma Gateway reconciliation failed", metav1.ConditionFalse}
	KymaGatewayDeletionBlocked       = ReasonMessage{"KymaGatewayDeletionBlocked", "Kyma Gateway deletion blocked because of the existing custom resources", metav1.ConditionFalse}
	OathkeeperReconcileSucceeded     = ReasonMessage{"OathkeeperReconcileSucceeded", "Ory Oathkeeper reconciliation succeeded", metav1.ConditionFalse}
	OathkeeperReconcileFailed        = ReasonMessage{"OathkeeperReconcileFailed", "Ory Oathkeeper reconciliation failed", metav1.ConditionFalse}
	DeletionBlockedExistingResources = ReasonMessage{"DeletionBlockedExistingResources", "API Gateway deletion blocked because of the existing custom resources", metav1.ConditionFalse}
)

Functions

This section is empty.

Types

type ReasonMessage

type ReasonMessage struct {
	// contains filtered or unexported fields
}

ReasonMessage is a struct that defines different states of Ready condition

func (ReasonMessage) AdditionalMessage

func (rm ReasonMessage) AdditionalMessage(message string) ReasonMessage

AdditionalMessage adds additional string message to already defined message field in ReasonMessage and returns a new ReasonMessage based on parent

func (ReasonMessage) Condition

func (rm ReasonMessage) Condition() *metav1.Condition

Condition returns metav1.Condition from existing ReasonMessage

Jump to

Keyboard shortcuts

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