Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Decorator ¶
type Decorator struct {
*gatewayv1.GatewayClass
}
Decorator is a wrapper around upstream GatewayClass to add additional functionality.
func DecorateGatewayClass ¶
func DecorateGatewayClass(gwc *gatewayv1.GatewayClass) *Decorator
DecorateGatewayClass returns a Decorator object wrapping the provided GatewayClass object.
func NewDecorator ¶
func NewDecorator() *Decorator
NewDecorator returns Decorator object to add additional functionality to the base K8s GatewayClass.
func (*Decorator) GetConditions ¶
GetConditions returns status conditions of GatewayClass.
func (*Decorator) IsAccepted ¶
IsAccepted returns true if the GatewayClass has been accepted by the operator.
func (*Decorator) IsControlled ¶
IsControlled returns boolean if the GatewayClass is controlled by this controller.
func (*Decorator) SetConditions ¶
SetConditions sets status conditions of GatewayClass.
Click to show internal directories.
Click to hide internal directories.