Documentation
¶
Index ¶
Constants ¶
View Source
const ( // GatewayClassReasonGatewayClassConflict indicates there are multiple GatewayClass resources // that reference this controller, and we ignored the resource in question and picked the // GatewayClass that is referenced in the command-line argument. // This reason is used with GatewayClassConditionAccepted (false). GatewayClassReasonGatewayClassConflict v1beta1.GatewayClassConditionReason = "GatewayClassConflict" // GatewayClassMessageGatewayClassConflict is a message that describes GatewayClassReasonGatewayClassConflict. GatewayClassMessageGatewayClassConflict = "The resource is ignored due to a conflicting GatewayClass resource" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct { Type string Status metav1.ConditionStatus Reason string Message string }
Condition defines a condition to be reported in the status of resources.
func NewDefaultGatewayClassConditions ¶
func NewDefaultGatewayClassConditions() []Condition
NewDefaultGatewayClassConditions returns the default Conditions that must be present in the status of a GatewayClass.
func NewGatewayClassConflict ¶
func NewGatewayClassConflict() Condition
NewGatewayClassConflict returns a Condition that indicates that the GatewayClass is not accepted due to a conflict with another GatewayClass.
Click to show internal directories.
Click to hide internal directories.