v1alpha1

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 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 StoragePolicyLister

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

StoragePolicyLister helps list StoragePolicies. All objects returned here must be treated as read-only.

func NewStoragePolicyLister

func NewStoragePolicyLister(indexer cache.Indexer) StoragePolicyLister

NewStoragePolicyLister returns a new StoragePolicyLister.

type StoragePolicyListerExpansion

type StoragePolicyListerExpansion interface{}

StoragePolicyListerExpansion allows custom methods to be added to StoragePolicyLister.

type StoragePolicyNamespaceLister

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

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

type StoragePolicyNamespaceListerExpansion

type StoragePolicyNamespaceListerExpansion interface{}

StoragePolicyNamespaceListerExpansion allows custom methods to be added to StoragePolicyNamespaceLister.

Jump to

Keyboard shortcuts

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