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 ProtectionLister

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

ProtectionLister helps list Protections. All objects returned here must be treated as read-only.

func NewProtectionLister

func NewProtectionLister(indexer cache.Indexer) ProtectionLister

NewProtectionLister returns a new ProtectionLister.

type ProtectionListerExpansion

type ProtectionListerExpansion interface{}

ProtectionListerExpansion allows custom methods to be added to ProtectionLister.

type ProtectionNamespaceLister

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

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

type ProtectionNamespaceListerExpansion

type ProtectionNamespaceListerExpansion interface{}

ProtectionNamespaceListerExpansion allows custom methods to be added to ProtectionNamespaceLister.

Jump to

Keyboard shortcuts

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