Documentation
¶
Index ¶
- func NewDeploymentInformer(client exampleclient.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- func NewDeploymentInformerWithOptions(client exampleclient.Interface, namespace string, ...) cache.SharedIndexInformer
- func NewFilteredDeploymentInformer(client exampleclient.Interface, namespace string, resyncPeriod time.Duration, ...) cache.SharedIndexInformer
- type DeploymentInformer
- type Interface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDeploymentInformer ¶
func NewDeploymentInformer(client exampleclient.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer
NewDeploymentInformer constructs a new informer for Deployment 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 NewDeploymentInformerWithOptions ¶
func NewDeploymentInformerWithOptions(client exampleclient.Interface, namespace string, options internalinterfaces.InformerOptions) cache.SharedIndexInformer
NewDeploymentInformerWithOptions constructs a new informer for Deployment type with additional options. 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 NewFilteredDeploymentInformer ¶
func NewFilteredDeploymentInformer(client exampleclient.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer
NewFilteredDeploymentInformer constructs a new informer for Deployment 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 DeploymentInformer ¶
type DeploymentInformer interface {
Informer() cache.SharedIndexInformer
Lister() appsv1.DeploymentLister
}
DeploymentInformer provides access to a shared informer and lister for Deployments.
type Interface ¶
type Interface interface {
// Deployments returns a DeploymentInformer.
Deployments() DeploymentInformer
}
Interface provides access to all the informers in this group version.
func New ¶
func New(f internalinterfaces.SharedInformerFactory, namespace string, tweakListOptions internalinterfaces.TweakListOptionsFunc) Interface
New returns a new Interface.