routes

package
v1.5.0-alpha.1 Latest Latest
Warning

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

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

Documentation

Index

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 (*DefaultRouteParentStatusObject) ConditionExists

func (r *DefaultRouteParentStatusObject) ConditionExists(conditionType gwv1.RouteConditionType) bool

func (*DefaultRouteParentStatusObject) GetParentRef

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 (*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 (*DefaultRouteStatusObject) StatusUpdateFor

type PolicyObjectReferenceConditionProvider

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

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 (*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
}

type RouteStatusHolder

type RouteStatusHolder struct {
	*DefaultRouteStatusObject
}

func (*RouteStatusHolder) StatusUpdateFor

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

Process computes the status of a Route

type RouteStatusUpdate

type RouteStatusUpdate struct {
	*DefaultRouteStatusObject
}

func (*RouteStatusUpdate) Mutate

func (r *RouteStatusUpdate) Mutate(obj client.Object) client.Object

Jump to

Keyboard shortcuts

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