Documentation ¶
Index ¶
- func NewRouteStatusHolder(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) status.RouteStatusObject
- func NewRouteStatusUpdate(resource client.Object, meta *metav1.ObjectMeta, typeMeta *metav1.TypeMeta, ...) 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) GetObjectMeta() *metav1.ObjectMeta
- func (r *DefaultRouteStatusObject) GetResource() client.Object
- func (r *DefaultRouteStatusObject) GetRouteParentStatuses() []*gwv1.RouteParentStatus
- func (r *DefaultRouteStatusObject) GetTransitionTime() metav1.Time
- func (r *DefaultRouteStatusObject) GetTypeMeta() *metav1.TypeMeta
- func (r *DefaultRouteStatusObject) Mutate(obj client.Object) client.Object
- func (r *DefaultRouteStatusObject) StatusUpdateFor(parentRef gwv1.ParentReference) status.RouteParentStatusObject
- 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, 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 (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) 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 (r *DefaultRouteStatusObject) Mutate(obj client.Object) client.Object
func (*DefaultRouteStatusObject) StatusUpdateFor ¶
func (r *DefaultRouteStatusObject) StatusUpdateFor(parentRef gwv1.ParentReference) status.RouteParentStatusObject
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, statusUpdater status.Updater) *RouteStatusProcessor
func (*RouteStatusProcessor) Process ¶
func (p *RouteStatusProcessor) Process(_ context.Context, update 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.