v1

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PetSetLister

type PetSetLister interface {
	// List lists all PetSets in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.PetSet, err error)
	// PetSets returns an object that can list and get PetSets.
	PetSets(namespace string) PetSetNamespaceLister
	PetSetListerExpansion
}

PetSetLister helps list PetSets. All objects returned here must be treated as read-only.

func NewPetSetLister

func NewPetSetLister(indexer cache.Indexer) PetSetLister

NewPetSetLister returns a new PetSetLister.

type PetSetListerExpansion

type PetSetListerExpansion interface {
	GetPodPetSets(pod *v1.Pod) ([]*api.PetSet, error)
}

PetSetListerExpansion allows custom methods to be added to PetSetLister.

type PetSetNamespaceLister

type PetSetNamespaceLister interface {
	// List lists all PetSets in the indexer for a given namespace.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.PetSet, err error)
	// Get retrieves the PetSet from the indexer for a given namespace and name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.PetSet, error)
	PetSetNamespaceListerExpansion
}

PetSetNamespaceLister helps list and get PetSets. All objects returned here must be treated as read-only.

type PetSetNamespaceListerExpansion

type PetSetNamespaceListerExpansion interface{}

PetSetNamespaceListerExpansion allows custom methods to be added to PetSetNamespaceLister.

type PlacementPolicyLister

type PlacementPolicyLister interface {
	// List lists all PlacementPolicies in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1.PlacementPolicy, err error)
	// Get retrieves the PlacementPolicy from the index for a given name.
	// Objects returned here must be treated as read-only.
	Get(name string) (*v1.PlacementPolicy, error)
	PlacementPolicyListerExpansion
}

PlacementPolicyLister helps list PlacementPolicies. All objects returned here must be treated as read-only.

func NewPlacementPolicyLister

func NewPlacementPolicyLister(indexer cache.Indexer) PlacementPolicyLister

NewPlacementPolicyLister returns a new PlacementPolicyLister.

type PlacementPolicyListerExpansion

type PlacementPolicyListerExpansion interface{}

PlacementPolicyListerExpansion allows custom methods to be added to PlacementPolicyLister.

Jump to

Keyboard shortcuts

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