Documentation ¶
Index ¶
- func NewRouteStatusHolder(resource client.Object, gvk schema.GroupVersionKind, hostnames []gwv1.Hostname, ...) status.RouteStatusObject
- func NewRouteStatusUpdate(resource client.Object, gvk schema.GroupVersionKind, hostnames []gwv1.Hostname, ...) status.RouteStatusObject
- type DefaultRouteParentStatusObject
- func (r *DefaultRouteParentStatusObject) AddCondition(conditionType gwv1.RouteConditionType, status metav1.ConditionStatus, ...) metav1.Condition
- func (r *DefaultRouteParentStatusObject) ConditionExists(conditionType gwv1.RouteConditionType) bool
- func (r *DefaultRouteParentStatusObject) GetParentRef() gwv1.ParentReference
- func (r *DefaultRouteParentStatusObject) GetRouteStatusObject() status.RouteStatusObject
- type DefaultRouteStatusObject
- func (r *DefaultRouteStatusObject) ConditionsForParentRef(parentRef gwv1.ParentReference) []metav1.Condition
- func (r *DefaultRouteStatusObject) GetFullName() types.NamespacedName
- func (r *DefaultRouteStatusObject) GetGeneration() int64
- func (r *DefaultRouteStatusObject) GetHostnames() []gwv1.Hostname
- func (r *DefaultRouteStatusObject) GetResource() client.Object
- func (r *DefaultRouteStatusObject) GetRouteParentStatuses() []*gwv1.RouteParentStatus
- func (r *DefaultRouteStatusObject) GetTransitionTime() metav1.Time
- func (r *DefaultRouteStatusObject) GroupVersionKind() schema.GroupVersionKind
- func (r *DefaultRouteStatusObject) Mutate(obj client.Object) client.Object
- func (r *DefaultRouteStatusObject) StatusUpdateFor(parentRef gwv1.ParentReference) status.RouteParentStatusObject
- type PolicyObjectReferenceConditionProvider
- func (r *PolicyObjectReferenceConditionProvider) AddEmptyCACondition(obj client.Object, ref gwv1.ObjectReference)
- func (r *PolicyObjectReferenceConditionProvider) AddGetRefErrorCondition(obj client.Object, key types.NamespacedName, kind string, err error)
- func (r *PolicyObjectReferenceConditionProvider) AddInvalidRefCondition(obj client.Object, ref gwv1.ObjectReference)
- func (r *PolicyObjectReferenceConditionProvider) AddNoRequiredCAFileCondition(obj client.Object, key types.NamespacedName, kind string)
- func (r *PolicyObjectReferenceConditionProvider) AddRefNotFoundCondition(obj client.Object, key types.NamespacedName, kind string)
- func (r *PolicyObjectReferenceConditionProvider) AddRefNotPermittedCondition(obj client.Object, ref gwv1.ObjectReference)
- func (r *PolicyObjectReferenceConditionProvider) AddRefsResolvedCondition(obj client.Object)
- type RouteParentListenerConditionProvider
- type RouteParentStatusHolder
- type RouteStatusHolder
- type RouteStatusProcessor
- type RouteStatusUpdate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRouteStatusHolder ¶
func NewRouteStatusHolder(resource client.Object, gvk schema.GroupVersionKind, hostnames []gwv1.Hostname, routeParentStatuses []*gwv1.RouteParentStatus) status.RouteStatusObject
func NewRouteStatusUpdate ¶
func NewRouteStatusUpdate(resource client.Object, gvk schema.GroupVersionKind, hostnames []gwv1.Hostname, routeParentStatuses []*gwv1.RouteParentStatus) status.RouteStatusObject
Types ¶
type DefaultRouteParentStatusObject ¶
type DefaultRouteParentStatusObject struct { *DefaultRouteStatusObject // contains filtered or unexported fields }
func (*DefaultRouteParentStatusObject) AddCondition ¶
func (r *DefaultRouteParentStatusObject) AddCondition(conditionType gwv1.RouteConditionType, status metav1.ConditionStatus, reason gwv1.RouteConditionReason, message string) metav1.Condition
func (*DefaultRouteParentStatusObject) ConditionExists ¶
func (r *DefaultRouteParentStatusObject) ConditionExists(conditionType gwv1.RouteConditionType) bool
func (*DefaultRouteParentStatusObject) GetParentRef ¶
func (r *DefaultRouteParentStatusObject) GetParentRef() gwv1.ParentReference
func (*DefaultRouteParentStatusObject) GetRouteStatusObject ¶
func (r *DefaultRouteParentStatusObject) GetRouteStatusObject() status.RouteStatusObject
type DefaultRouteStatusObject ¶
type DefaultRouteStatusObject struct {
// contains filtered or unexported fields
}
func (*DefaultRouteStatusObject) ConditionsForParentRef ¶
func (r *DefaultRouteStatusObject) ConditionsForParentRef(parentRef gwv1.ParentReference) []metav1.Condition
func (*DefaultRouteStatusObject) GetFullName ¶
func (r *DefaultRouteStatusObject) GetFullName() types.NamespacedName
func (*DefaultRouteStatusObject) GetGeneration ¶
func (r *DefaultRouteStatusObject) GetGeneration() int64
func (*DefaultRouteStatusObject) GetHostnames ¶
func (r *DefaultRouteStatusObject) GetHostnames() []gwv1.Hostname
func (*DefaultRouteStatusObject) GetResource ¶
func (r *DefaultRouteStatusObject) GetResource() client.Object
func (*DefaultRouteStatusObject) GetRouteParentStatuses ¶
func (r *DefaultRouteStatusObject) GetRouteParentStatuses() []*gwv1.RouteParentStatus
func (*DefaultRouteStatusObject) GetTransitionTime ¶
func (r *DefaultRouteStatusObject) GetTransitionTime() metav1.Time
func (*DefaultRouteStatusObject) GroupVersionKind ¶
func (r *DefaultRouteStatusObject) GroupVersionKind() schema.GroupVersionKind
func (*DefaultRouteStatusObject) Mutate ¶
func (r *DefaultRouteStatusObject) Mutate(obj client.Object) client.Object
func (*DefaultRouteStatusObject) StatusUpdateFor ¶
func (r *DefaultRouteStatusObject) StatusUpdateFor(parentRef gwv1.ParentReference) status.RouteParentStatusObject
type PolicyObjectReferenceConditionProvider ¶
type PolicyObjectReferenceConditionProvider struct {
// contains filtered or unexported fields
}
func NewPolicyObjectReferenceConditionProvider ¶
func NewPolicyObjectReferenceConditionProvider(ancestorStatus status.PolicyAncestorStatusObject) *PolicyObjectReferenceConditionProvider
func (*PolicyObjectReferenceConditionProvider) AddEmptyCACondition ¶
func (r *PolicyObjectReferenceConditionProvider) AddEmptyCACondition(obj client.Object, ref gwv1.ObjectReference)
func (*PolicyObjectReferenceConditionProvider) AddGetRefErrorCondition ¶
func (r *PolicyObjectReferenceConditionProvider) AddGetRefErrorCondition(obj client.Object, key types.NamespacedName, kind string, err error)
func (*PolicyObjectReferenceConditionProvider) AddInvalidRefCondition ¶
func (r *PolicyObjectReferenceConditionProvider) AddInvalidRefCondition(obj client.Object, ref gwv1.ObjectReference)
func (*PolicyObjectReferenceConditionProvider) AddNoRequiredCAFileCondition ¶
func (r *PolicyObjectReferenceConditionProvider) AddNoRequiredCAFileCondition(obj client.Object, key types.NamespacedName, kind string)
func (*PolicyObjectReferenceConditionProvider) AddRefNotFoundCondition ¶
func (r *PolicyObjectReferenceConditionProvider) AddRefNotFoundCondition(obj client.Object, key types.NamespacedName, kind string)
func (*PolicyObjectReferenceConditionProvider) AddRefNotPermittedCondition ¶
func (r *PolicyObjectReferenceConditionProvider) AddRefNotPermittedCondition(obj client.Object, ref gwv1.ObjectReference)
func (*PolicyObjectReferenceConditionProvider) AddRefsResolvedCondition ¶
func (r *PolicyObjectReferenceConditionProvider) AddRefsResolvedCondition(obj client.Object)
type RouteParentListenerConditionProvider ¶
type RouteParentListenerConditionProvider struct {
// contains filtered or unexported fields
}
func NewRouteParentListenerConditionProvider ¶
func NewRouteParentListenerConditionProvider(rps status.RouteParentStatusObject, recorder record.EventRecorder) *RouteParentListenerConditionProvider
func (*RouteParentListenerConditionProvider) AddNoMatchingParentCondition ¶
func (r *RouteParentListenerConditionProvider) AddNoMatchingParentCondition(route client.Object, parentRef gwv1.ParentReference, routeNs string)
func (*RouteParentListenerConditionProvider) AddNotAllowedByListenersCondition ¶
func (r *RouteParentListenerConditionProvider) AddNotAllowedByListenersCondition(route client.Object, parentRef gwv1.ParentReference, routeNs string)
type RouteParentStatusHolder ¶
type RouteParentStatusHolder struct {
*DefaultRouteParentStatusObject
}
func (*RouteParentStatusHolder) AddCondition ¶
func (r *RouteParentStatusHolder) AddCondition(_ gwv1.RouteConditionType, _ metav1.ConditionStatus, _ gwv1.RouteConditionReason, _ string) metav1.Condition
type RouteStatusHolder ¶
type RouteStatusHolder struct {
*DefaultRouteStatusObject
}
func (*RouteStatusHolder) StatusUpdateFor ¶
func (r *RouteStatusHolder) StatusUpdateFor(parentRef gwv1.ParentReference) status.RouteParentStatusObject
type RouteStatusProcessor ¶
type RouteStatusProcessor struct {
// contains filtered or unexported fields
}
RouteStatusProcessor is responsible for computing the status of a Route
func NewRouteStatusProcessor ¶
func NewRouteStatusProcessor(cache cache.Cache, recorder record.EventRecorder, statusUpdater status.Updater) *RouteStatusProcessor
func (*RouteStatusProcessor) Process ¶
func (p *RouteStatusProcessor) Process(_ context.Context, rs status.RouteStatusObject, parentRefs []gwv1.ParentReference) error
Process computes the status of a Route
type RouteStatusUpdate ¶
type RouteStatusUpdate struct {
*DefaultRouteStatusObject
}
Click to show internal directories.
Click to hide internal directories.