package endpointslice
import "k8s.io/kubernetes/pkg/controller/endpointslice"
Index ¶
- func IsReservedLabelKey(label string) bool
- type Controller
- func NewController(podInformer coreinformers.PodInformer, serviceInformer coreinformers.ServiceInformer, nodeInformer coreinformers.NodeInformer, endpointSliceInformer discoveryinformers.EndpointSliceInformer, maxEndpointsPerSlice int32, client clientset.Interface, endpointUpdatesBatchPeriod time.Duration, ) *Controller
- func (c *Controller) Run(workers int, stopCh <-chan struct{})
- type StaleInformerCache
Functions ¶
func IsReservedLabelKey ¶
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 ¶
type StaleInformerCache struct {
// contains filtered or unexported fields
}
StaleInformerCache errors indicate that the informer cache includes out of date resources.
func (*StaleInformerCache) Error ¶
func (e *StaleInformerCache) Error() string
Source Files ¶
endpointset.go endpointslice_controller.go endpointslice_tracker.go errors.go reconciler.go utils.go
Directories ¶
Path | Synopsis |
---|---|
pkg/controller/endpointslice/config | |
pkg/controller/endpointslice/config/v1alpha1 | |
pkg/controller/endpointslice/metrics |
- Version
- v1.20.12
- Published
- Oct 27, 2021
- Platform
- js/wasm
- Imports
- 40 packages
- Last checked
- 3 minutes ago –
Tools for package owners.