routes

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRouteStatusHolder

func NewRouteStatusHolder(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, hostnames []gwv1.Hostname, routeParentStatuses []*gwv1.RouteParentStatus) status.RouteStatusObject

func NewRouteStatusUpdate

func NewRouteStatusUpdate(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, 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) GetObjectMeta

func (r *DefaultRouteStatusObject) GetObjectMeta() *metav1.ObjectMeta

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) GetTypeMeta

func (r *DefaultRouteStatusObject) GetTypeMeta() *metav1.TypeMeta

func (*DefaultRouteStatusObject) Mutate

func (*DefaultRouteStatusObject) StatusUpdateFor

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, 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