v1alpha1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConnectionInformer

func NewConnectionInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewConnectionInformer constructs a new informer for Connection 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 NewFilteredConnectionInformer

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

NewFilteredConnectionInformer constructs a new informer for Connection 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 NewFilteredHostInformer

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

NewFilteredHostInformer constructs a new informer for Host 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 NewHostInformer

func NewHostInformer(client versioned.Interface, namespace string, resyncPeriod time.Duration, indexers cache.Indexers) cache.SharedIndexInformer

NewHostInformer constructs a new informer for Host 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 ConnectionInformer

type ConnectionInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.ConnectionLister
}

ConnectionInformer provides access to a shared informer and lister for Connections.

type HostInformer

type HostInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.HostLister
}

HostInformer provides access to a shared informer and lister for Hosts.

type Interface

type Interface interface {
	// Connections returns a ConnectionInformer.
	Connections() ConnectionInformer
	// Hosts returns a HostInformer.
	Hosts() HostInformer
}

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