v1

package
v0.0.7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFilteredPetSetInformer

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

NewFilteredPetSetInformer constructs a new informer for PetSet 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 NewFilteredPlacementPolicyInformer

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

NewFilteredPlacementPolicyInformer constructs a new informer for PlacementPolicy 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 NewPetSetInformer

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

NewPetSetInformer constructs a new informer for PetSet 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 NewPlacementPolicyInformer

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

NewPlacementPolicyInformer constructs a new informer for PlacementPolicy 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 {
	// PetSets returns a PetSetInformer.
	PetSets() PetSetInformer
	// PlacementPolicies returns a PlacementPolicyInformer.
	PlacementPolicies() PlacementPolicyInformer
}

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

func New

New returns a new Interface.

type PetSetInformer

type PetSetInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.PetSetLister
}

PetSetInformer provides access to a shared informer and lister for PetSets.

type PlacementPolicyInformer

type PlacementPolicyInformer interface {
	Informer() cache.SharedIndexInformer
	Lister() v1.PlacementPolicyLister
}

PlacementPolicyInformer provides access to a shared informer and lister for PlacementPolicies.

Jump to

Keyboard shortcuts

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