Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ControllerName is a unique value used with LabelManagedBy to indicated // the component managing an EndpointSlice. ControllerName = "endpointslice-controller.k8s.io" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages selector-based service endpoint slices
func NewController ¶
func NewController(ctx context.Context, podInformer coreinformers.PodInformer, serviceInformer coreinformers.ServiceInformer, nodeInformer coreinformers.NodeInformer, endpointSliceInformer discoveryinformers.EndpointSliceInformer, maxEndpointsPerSlice int32, client clientset.Interface, endpointUpdatesBatchPeriod time.Duration, ) *Controller
NewController creates and initializes a new Controller
Click to show internal directories.
Click to hide internal directories.