Documentation
¶
Overview ¶
Package endpoint provides EndpointController implementation to manage and sync service endpoints.
Index ¶
Constants ¶
View Source
const ( // LabelManagedBy is a label for recognizing Endpoints managed by this controller. LabelManagedBy = "endpoints.kubernetes.io/managed-by" // ControllerName is the name of this controller ControllerName = "endpoint-controller" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v1.20.0
type Controller struct {
// contains filtered or unexported fields
}
Controller manages selector-based service endpoints.
func NewEndpointController ¶
func NewEndpointController(ctx context.Context, podInformer coreinformers.PodInformer, serviceInformer coreinformers.ServiceInformer, endpointsInformer coreinformers.EndpointsInformer, client clientset.Interface, endpointUpdatesBatchPeriod time.Duration) *Controller
NewEndpointController returns a new *Controller.
Click to show internal directories.
Click to hide internal directories.