v1alpha1

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorkloadLister

type WorkloadLister interface {
	// List lists all Workloads in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*v1alpha1.Workload, err error)
	// Workloads returns an object that can list and get Workloads.
	Workloads(namespace string) WorkloadNamespaceLister
	WorkloadListerExpansion
}

WorkloadLister helps list Workloads. All objects returned here must be treated as read-only.

func NewWorkloadLister

func NewWorkloadLister(indexer cache.Indexer) WorkloadLister

NewWorkloadLister returns a new WorkloadLister.

type WorkloadListerExpansion

type WorkloadListerExpansion interface{}

WorkloadListerExpansion allows custom methods to be added to WorkloadLister.

type WorkloadNamespaceLister

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

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

type WorkloadNamespaceListerExpansion

type WorkloadNamespaceListerExpansion interface{}

WorkloadNamespaceListerExpansion allows custom methods to be added to WorkloadNamespaceLister.

Jump to

Keyboard shortcuts

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