v1alpha1

package
v0.0.0-...-66b81d5 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2024 License: Apache-2.0 Imports: 10 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPeerInformer

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

NewFilteredPeerInformer constructs a new informer for Peer 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 NewPeerInformer

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

NewPeerInformer constructs a new informer for Peer 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 {
	// Peers returns a PeerInformer.
	Peers() PeerInformer
}

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

func New

New returns a new Interface.

type PeerInformer

type PeerInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1alpha1.PeerLister
}

PeerInformer provides access to a shared informer and lister for Peers.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳