v1alpha1

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 17, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAPIResourceClusterInformer

func NewAPIResourceClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewAPIResourceClusterInformer constructs a new informer for APIResource 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 NewAPIResourceInformer

func NewAPIResourceInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewAPIResourceInformer constructs a new informer for APIResource 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 NewFilteredAPIResourceClusterInformer

func NewFilteredAPIResourceClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredAPIResourceClusterInformer constructs a new informer for APIResource 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 NewFilteredAPIResourceInformer

func NewFilteredAPIResourceInformer(client scopedclientset.Interface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer

NewFilteredAPIResourceInformer constructs a new informer for APIResource 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 APIResourceClusterInformer

type APIResourceClusterInformer interface {
	Cluster(logicalcluster.Name) APIResourceInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() metav1alpha1listers.APIResourceClusterLister
}

APIResourceClusterInformer provides access to a shared informer and lister for APIResources.

type APIResourceInformer

type APIResourceInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() metav1alpha1listers.APIResourceLister
}

APIResourceInformer provides access to a shared informer and lister for APIResources.

type ClusterInterface

type ClusterInterface interface {
	// APIResources returns a APIResourceClusterInformer
	APIResources() APIResourceClusterInformer
}

func New

New returns a new ClusterInterface.

type Interface

type Interface interface {
	// APIResources returns a APIResourceInformer
	APIResources() APIResourceInformer
}

func NewScoped

New returns a new ClusterInterface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL