Documentation ¶
Index ¶
- type GatewayStatusUpdate
- func (g *GatewayStatusUpdate) AddCondition(conditionType gwv1.GatewayConditionType, status metav1.ConditionStatus, ...) metav1.Condition
- func (g *GatewayStatusUpdate) AddListenerCondition(listenerName string, cond gwv1.ListenerConditionType, ...) metav1.Condition
- func (g *GatewayStatusUpdate) ConditionExists(conditionType gwv1.GatewayConditionType) bool
- func (g *GatewayStatusUpdate) GetListenerStatus(listenerName string) *gwv1.ListenerStatus
- func (g *GatewayStatusUpdate) IsStatusConditionTrue(conditionType gwv1.GatewayConditionType) bool
- func (g *GatewayStatusUpdate) Mutate(obj client.Object) client.Object
- func (g *GatewayStatusUpdate) SetAddresses(addresses []gwv1.GatewayStatusAddress)
- func (g *GatewayStatusUpdate) SetListenerAttachedRoutes(listenerName string, numRoutes int)
- func (g *GatewayStatusUpdate) SetListenerSupportedKinds(listenerName string, groupKinds []gwv1.RouteGroupKind)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GatewayStatusUpdate ¶
type GatewayStatusUpdate struct {
// contains filtered or unexported fields
}
func NewGatewayStatusUpdate ¶
func NewGatewayStatusUpdate(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, gs *gwv1.GatewayStatus) *GatewayStatusUpdate
func (*GatewayStatusUpdate) AddCondition ¶
func (g *GatewayStatusUpdate) AddCondition( conditionType gwv1.GatewayConditionType, status metav1.ConditionStatus, reason gwv1.GatewayConditionReason, message string, ) metav1.Condition
AddCondition returns a metav1.Condition for a given GatewayConditionType.
func (*GatewayStatusUpdate) AddListenerCondition ¶
func (g *GatewayStatusUpdate) AddListenerCondition( listenerName string, cond gwv1.ListenerConditionType, status metav1.ConditionStatus, reason gwv1.ListenerConditionReason, message string, ) metav1.Condition
AddListenerCondition adds a Condition for the specified listener.
func (*GatewayStatusUpdate) ConditionExists ¶
func (g *GatewayStatusUpdate) ConditionExists(conditionType gwv1.GatewayConditionType) bool
func (*GatewayStatusUpdate) GetListenerStatus ¶
func (g *GatewayStatusUpdate) GetListenerStatus(listenerName string) *gwv1.ListenerStatus
func (*GatewayStatusUpdate) IsStatusConditionTrue ¶
func (g *GatewayStatusUpdate) IsStatusConditionTrue(conditionType gwv1.GatewayConditionType) bool
func (*GatewayStatusUpdate) Mutate ¶
func (g *GatewayStatusUpdate) Mutate(obj client.Object) client.Object
func (*GatewayStatusUpdate) SetAddresses ¶
func (g *GatewayStatusUpdate) SetAddresses(addresses []gwv1.GatewayStatusAddress)
func (*GatewayStatusUpdate) SetListenerAttachedRoutes ¶
func (g *GatewayStatusUpdate) SetListenerAttachedRoutes(listenerName string, numRoutes int)
func (*GatewayStatusUpdate) SetListenerSupportedKinds ¶
func (g *GatewayStatusUpdate) SetListenerSupportedKinds(listenerName string, groupKinds []gwv1.RouteGroupKind)
Click to show internal directories.
Click to hide internal directories.