Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyLister ¶
type PolicyLister interface {
// List lists all Policies in the indexer.
List(selector labels.Selector) (ret []*v1alpha1.Policy, err error)
// Policies returns an object that can list and get Policies.
Policies(namespace string) PolicyNamespaceLister
PolicyListerExpansion
}
PolicyLister helps list Policies.
func NewPolicyLister ¶
func NewPolicyLister(indexer cache.Indexer) PolicyLister
NewPolicyLister returns a new PolicyLister.
type PolicyListerExpansion ¶
type PolicyListerExpansion interface{}
PolicyListerExpansion allows custom methods to be added to PolicyLister.
type PolicyNamespaceLister ¶
type PolicyNamespaceLister interface {
// List lists all Policies in the indexer for a given namespace.
List(selector labels.Selector) (ret []*v1alpha1.Policy, err error)
// Get retrieves the Policy from the indexer for a given namespace and name.
Get(name string) (*v1alpha1.Policy, error)
PolicyNamespaceListerExpansion
}
PolicyNamespaceLister helps list and get Policies.
type PolicyNamespaceListerExpansion ¶
type PolicyNamespaceListerExpansion interface{}
PolicyNamespaceListerExpansion allows custom methods to be added to PolicyNamespaceLister.
Click to show internal directories.
Click to hide internal directories.