v1

package
v1.26.1 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredNetworkPolicyConfigInformer

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

NewFilteredNetworkPolicyConfigInformer constructs a new informer for NetworkPolicyConfig 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 NewFilteredProjectInformer

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

NewFilteredProjectInformer constructs a new informer for Project 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 NewNetworkPolicyConfigInformer

func NewNetworkPolicyConfigInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewNetworkPolicyConfigInformer constructs a new informer for NetworkPolicyConfig 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 NewProjectInformer

func NewProjectInformer(client versioned.Interface, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewProjectInformer constructs a new informer for Project 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 Interface

type Interface interface {
	// NetworkPolicyConfigs returns a NetworkPolicyConfigInformer.
	NetworkPolicyConfigs() NetworkPolicyConfigInformer
	// Projects returns a ProjectInformer.
	Projects() ProjectInformer
}

Interface provides access to all the informers in this group version.

func New

New returns a new Interface.

type NetworkPolicyConfigInformer

type NetworkPolicyConfigInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.NetworkPolicyConfigLister
}

NetworkPolicyConfigInformer provides access to a shared informer and lister for NetworkPolicyConfigs.

type ProjectInformer

type ProjectInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.ProjectLister
}

ProjectInformer provides access to a shared informer and lister for Projects.

Jump to

Keyboard shortcuts

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