Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsReservedLabelKey ¶ added in v1.20.0
IsReservedLabelKey return true if the label is one of the reserved label for slices
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller manages selector-based service endpoint slices
func NewController ¶
func NewController(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
func (*Controller) Run ¶
func (c *Controller) Run(workers int, stopCh <-chan struct{})
Run will not return until stopCh is closed.
type StaleInformerCache ¶ added in v1.18.17
type StaleInformerCache struct {
// contains filtered or unexported fields
}
StaleInformerCache errors indicate that the informer cache includes out of date resources.
func (*StaleInformerCache) Error ¶ added in v1.18.17
func (e *StaleInformerCache) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.