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.
Click to show internal directories.
Click to hide internal directories.