Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClusterPolicyLister ¶ added in v0.9.1
type ClusterPolicyLister interface { // List lists all ClusterPolicies in the indexer. List(selector labels.Selector) (ret []*v1alpha1.ClusterPolicy, err error) // Get retrieves the ClusterPolicy from the index for a given name. Get(name string) (*v1alpha1.ClusterPolicy, error) ClusterPolicyListerExpansion }
ClusterPolicyLister helps list ClusterPolicies.
func NewClusterPolicyLister ¶ added in v0.9.1
func NewClusterPolicyLister(indexer cache.Indexer) ClusterPolicyLister
NewClusterPolicyLister returns a new ClusterPolicyLister.
type ClusterPolicyListerExpansion ¶ added in v0.9.1
type ClusterPolicyListerExpansion interface { GetPolicyForPolicyViolation(pv *kyverno.ClusterPolicyViolation) ([]*kyverno.ClusterPolicy, error) ListResources(selector labels.Selector) (ret []*v1alpha1.ClusterPolicy, err error) }
PolicyListerExpansion allows custom methods to be added to PolicyLister.
type ClusterPolicyViolationLister ¶ added in v0.9.1
type ClusterPolicyViolationLister interface { // List lists all ClusterPolicyViolations in the indexer. List(selector labels.Selector) (ret []*v1alpha1.ClusterPolicyViolation, err error) // Get retrieves the ClusterPolicyViolation from the index for a given name. Get(name string) (*v1alpha1.ClusterPolicyViolation, error) ClusterPolicyViolationListerExpansion }
ClusterPolicyViolationLister helps list ClusterPolicyViolations.
func NewClusterPolicyViolationLister ¶ added in v0.9.1
func NewClusterPolicyViolationLister(indexer cache.Indexer) ClusterPolicyViolationLister
NewClusterPolicyViolationLister returns a new ClusterPolicyViolationLister.
type ClusterPolicyViolationListerExpansion ¶ added in v0.9.1
type ClusterPolicyViolationListerExpansion interface { // List lists all PolicyViolations in the indexer with GVK. // List lists all PolicyViolations in the indexer with GVK. ListResources(selector labels.Selector) (ret []*v1alpha1.ClusterPolicyViolation, err error) }
PolicyViolationListerExpansion allows custom methods to be added to PolicyViolationLister.
type PolicyListerExpansion ¶
type PolicyListerExpansion interface{}
PolicyListerExpansion allows custom methods to be added to PolicyLister.
type PolicyViolationListerExpansion ¶
type PolicyViolationListerExpansion interface{}
PolicyViolationListerExpansion allows custom methods to be added to PolicyViolationLister.
Click to show internal directories.
Click to hide internal directories.