Documentation ¶
Overview ¶
Package shadowendpointslicectrl contains the ShadowEndpointSlice logic.
Index ¶
- func EndpointHintsApply(hints *discoveryv1.EndpointHints) *discoveryv1apply.EndpointHintsApplyConfiguration
- func EndpointPortsApply(ports []discoveryv1.EndpointPort) []*discoveryv1apply.EndpointPortApplyConfiguration
- func EndpointSliceApply(eps *discoveryv1.EndpointSlice) *discoveryv1apply.EndpointSliceApplyConfiguration
- func EndpointsApply(endpoints []discoveryv1.Endpoint) []*discoveryv1apply.EndpointApplyConfiguration
- func ObjectReferenceApply(ref *corev1.ObjectReference) *corev1apply.ObjectReferenceApplyConfiguration
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EndpointHintsApply ¶
func EndpointHintsApply(hints *discoveryv1.EndpointHints) *discoveryv1apply.EndpointHintsApplyConfiguration
EndpointHintsApply forges the apply patch for the endpoint hints of the reflected endpointslice, given the local ones.
func EndpointPortsApply ¶
func EndpointPortsApply(ports []discoveryv1.EndpointPort) []*discoveryv1apply.EndpointPortApplyConfiguration
EndpointPortsApply forges the apply patch for the ports of the reflected endpointslice, given the local ones.
func EndpointSliceApply ¶
func EndpointSliceApply(eps *discoveryv1.EndpointSlice) *discoveryv1apply.EndpointSliceApplyConfiguration
EndpointSliceApply forges the apply patch for the endpointslice.
func EndpointsApply ¶
func EndpointsApply(endpoints []discoveryv1.Endpoint) []*discoveryv1apply.EndpointApplyConfiguration
EndpointsApply forges the apply patch for the endpoints of the reflected endpointslice, given the local ones.
func ObjectReferenceApply ¶
func ObjectReferenceApply(ref *corev1.ObjectReference) *corev1apply.ObjectReferenceApplyConfiguration
ObjectReferenceApply forges the apply patch for a reflected ObjectReference.
Types ¶
type Reconciler ¶
Reconciler reconciles a ShadowEndpointSlice object.
func (*Reconciler) SetupWithManager ¶
SetupWithManager monitors updates on ShadowEndpointSlices.