v1alpha1

package
Version: v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 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 SnapshotLister

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

SnapshotLister helps list Snapshots. All objects returned here must be treated as read-only.

func NewSnapshotLister

func NewSnapshotLister(indexer cache.Indexer) SnapshotLister

NewSnapshotLister returns a new SnapshotLister.

type SnapshotListerExpansion

type SnapshotListerExpansion interface{}

SnapshotListerExpansion allows custom methods to be added to SnapshotLister.

type SnapshotNamespaceLister

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

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

type SnapshotNamespaceListerExpansion

type SnapshotNamespaceListerExpansion interface{}

SnapshotNamespaceListerExpansion allows custom methods to be added to SnapshotNamespaceLister.

Jump to

Keyboard shortcuts

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