v1

package
v4.5.9+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPgclusterInformer

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

NewFilteredPgclusterInformer constructs a new informer for Pgcluster 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 NewFilteredPgpolicyInformer

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

NewFilteredPgpolicyInformer constructs a new informer for Pgpolicy 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 NewFilteredPgreplicaInformer

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

NewFilteredPgreplicaInformer constructs a new informer for Pgreplica 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 NewFilteredPgtaskInformer

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

NewFilteredPgtaskInformer constructs a new informer for Pgtask 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 NewPgclusterInformer

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

NewPgclusterInformer constructs a new informer for Pgcluster 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 NewPgpolicyInformer

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

NewPgpolicyInformer constructs a new informer for Pgpolicy 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 NewPgreplicaInformer

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

NewPgreplicaInformer constructs a new informer for Pgreplica 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 NewPgtaskInformer

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

NewPgtaskInformer constructs a new informer for Pgtask 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 {
	// Pgclusters returns a PgclusterInformer.
	Pgclusters() PgclusterInformer
	// Pgpolicies returns a PgpolicyInformer.
	Pgpolicies() PgpolicyInformer
	// Pgreplicas returns a PgreplicaInformer.
	Pgreplicas() PgreplicaInformer
	// Pgtasks returns a PgtaskInformer.
	Pgtasks() PgtaskInformer
}

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

func New

New returns a new Interface.

type PgclusterInformer

type PgclusterInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.PgclusterLister
}

PgclusterInformer provides access to a shared informer and lister for Pgclusters.

type PgpolicyInformer

type PgpolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.PgpolicyLister
}

PgpolicyInformer provides access to a shared informer and lister for Pgpolicies.

type PgreplicaInformer

type PgreplicaInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.PgreplicaLister
}

PgreplicaInformer provides access to a shared informer and lister for Pgreplicas.

type PgtaskInformer

type PgtaskInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.PgtaskLister
}

PgtaskInformer provides access to a shared informer and lister for Pgtasks.

Jump to

Keyboard shortcuts

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