Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyResourceLister ¶
type MyResourceLister interface { // List lists all MyResources in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1alpha1.MyResource, err error) // MyResources returns an object that can list and get MyResources. MyResources(namespace string) MyResourceNamespaceLister MyResourceListerExpansion }
MyResourceLister helps list MyResources. All objects returned here must be treated as read-only.
func NewMyResourceLister ¶
func NewMyResourceLister(indexer cache.Indexer) MyResourceLister
NewMyResourceLister returns a new MyResourceLister.
type MyResourceListerExpansion ¶
type MyResourceListerExpansion interface{}
MyResourceListerExpansion allows custom methods to be added to MyResourceLister.
type MyResourceNamespaceLister ¶
type MyResourceNamespaceLister interface { // List lists all MyResources in the indexer for a given namespace. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*v1alpha1.MyResource, err error) // Get retrieves the MyResource from the indexer for a given namespace and name. // Objects returned here must be treated as read-only. Get(name string) (*v1alpha1.MyResource, error) MyResourceNamespaceListerExpansion }
MyResourceNamespaceLister helps list and get MyResources. All objects returned here must be treated as read-only.
type MyResourceNamespaceListerExpansion ¶
type MyResourceNamespaceListerExpansion interface{}
MyResourceNamespaceListerExpansion allows custom methods to be added to MyResourceNamespaceLister.
Click to show internal directories.
Click to hide internal directories.