Documentation
¶
Index ¶
- func NewFilteredLocationClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredLocationInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewFilteredPlacementClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredPlacementInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewLocationClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewLocationInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewPlacementClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewPlacementInformer(client scopedclientset.Interface, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type ClusterInterface
- type Interface
- type LocationClusterInformer
- type LocationInformer
- type PlacementClusterInformer
- type PlacementInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFilteredLocationClusterInformer ¶
func NewFilteredLocationClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredLocationClusterInformer constructs a new informer for Location type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredLocationInformer ¶
func NewFilteredLocationInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredLocationInformer constructs a new informer for Location type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredPlacementClusterInformer ¶
func NewFilteredPlacementClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredPlacementClusterInformer constructs a new informer for Placement type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredPlacementInformer ¶
func NewFilteredPlacementInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredPlacementInformer constructs a new informer for Placement type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewLocationClusterInformer ¶
func NewLocationClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewLocationClusterInformer constructs a new informer for Location type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewLocationInformer ¶
func NewLocationInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewLocationInformer constructs a new informer for Location type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewPlacementClusterInformer ¶
func NewPlacementClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewPlacementClusterInformer constructs a new informer for Placement type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewPlacementInformer ¶
func NewPlacementInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewPlacementInformer constructs a new informer for Placement type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type ClusterInterface ¶
type ClusterInterface interface {
// Locations returns a LocationClusterInformer
Locations() LocationClusterInformer
// Placements returns a PlacementClusterInformer
Placements() PlacementClusterInformer
}
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type Interface ¶
type Interface interface {
// Locations returns a LocationInformer
Locations() LocationInformer
// Placements returns a PlacementInformer
Placements() PlacementInformer
}
func NewScoped ¶
func NewScoped(f internalinterfaces.SharedScopedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new ClusterInterface.
type LocationClusterInformer ¶
type LocationClusterInformer interface {
Cluster(logicalcluster.Name) LocationInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() schedulingv1alpha1listers.LocationClusterLister
}
LocationClusterInformer provides access to a shared informer and lister for Locations.
type LocationInformer ¶
type LocationInformer interface {
Informer() cache.SharedIndexInformer
Lister() schedulingv1alpha1listers.LocationLister
}
LocationInformer provides access to a shared informer and lister for Locations.
type PlacementClusterInformer ¶
type PlacementClusterInformer interface {
Cluster(logicalcluster.Name) PlacementInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() schedulingv1alpha1listers.PlacementClusterLister
}
PlacementClusterInformer provides access to a shared informer and lister for Placements.
type PlacementInformer ¶
type PlacementInformer interface {
Informer() cache.SharedIndexInformer
Lister() schedulingv1alpha1listers.PlacementLister
}
PlacementInformer provides access to a shared informer and lister for Placements.