v1

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

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

New returns a new Interface.

Jump to

Keyboard shortcuts

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