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 ClusterLister

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

ClusterLister helps list Clusters. All objects returned here must be treated as read-only.

func NewClusterLister

func NewClusterLister(indexer cache.Indexer) ClusterLister

NewClusterLister returns a new ClusterLister.

type ClusterListerExpansion

type ClusterListerExpansion interface{}

ClusterListerExpansion allows custom methods to be added to ClusterLister.

type ClusterNamespaceLister

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

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

type ClusterNamespaceListerExpansion

type ClusterNamespaceListerExpansion interface{}

ClusterNamespaceListerExpansion allows custom methods to be added to ClusterNamespaceLister.

Jump to

Keyboard shortcuts

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