Documentation ¶
Index ¶
- func NewValidatingAdmissionPolicyBindingClusterLister(indexer cache.Indexer) *validatingAdmissionPolicyBindingClusterLister
- func NewValidatingAdmissionPolicyClusterLister(indexer cache.Indexer) *validatingAdmissionPolicyClusterLister
- type ValidatingAdmissionPolicyBindingClusterLister
- type ValidatingAdmissionPolicyBindingClusterListerExpansion
- type ValidatingAdmissionPolicyClusterLister
- type ValidatingAdmissionPolicyClusterListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewValidatingAdmissionPolicyBindingClusterLister ¶
func NewValidatingAdmissionPolicyBindingClusterLister(indexer cache.Indexer) *validatingAdmissionPolicyBindingClusterLister
NewValidatingAdmissionPolicyBindingClusterLister returns a new ValidatingAdmissionPolicyBindingClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index
func NewValidatingAdmissionPolicyClusterLister ¶
func NewValidatingAdmissionPolicyClusterLister(indexer cache.Indexer) *validatingAdmissionPolicyClusterLister
NewValidatingAdmissionPolicyClusterLister returns a new ValidatingAdmissionPolicyClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index
Types ¶
type ValidatingAdmissionPolicyBindingClusterLister ¶
type ValidatingAdmissionPolicyBindingClusterLister interface { // List lists all ValidatingAdmissionPolicyBindings in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*admissionregistrationv1alpha1.ValidatingAdmissionPolicyBinding, err error) // Cluster returns a lister that can list and get ValidatingAdmissionPolicyBindings in one workspace. Cluster(clusterName logicalcluster.Name) admissionregistrationv1alpha1listers.ValidatingAdmissionPolicyBindingLister ValidatingAdmissionPolicyBindingClusterListerExpansion }
ValidatingAdmissionPolicyBindingClusterLister can list ValidatingAdmissionPolicyBindings across all workspaces, or scope down to a ValidatingAdmissionPolicyBindingLister for one workspace. All objects returned here must be treated as read-only.
type ValidatingAdmissionPolicyBindingClusterListerExpansion ¶
type ValidatingAdmissionPolicyBindingClusterListerExpansion interface{}
ValidatingAdmissionPolicyBindingClusterListerExpansion allows custom methods to be added to ValidatingAdmissionPolicyBindingClusterLister.
type ValidatingAdmissionPolicyClusterLister ¶
type ValidatingAdmissionPolicyClusterLister interface { // List lists all ValidatingAdmissionPolicies in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*admissionregistrationv1alpha1.ValidatingAdmissionPolicy, err error) // Cluster returns a lister that can list and get ValidatingAdmissionPolicies in one workspace. Cluster(clusterName logicalcluster.Name) admissionregistrationv1alpha1listers.ValidatingAdmissionPolicyLister ValidatingAdmissionPolicyClusterListerExpansion }
ValidatingAdmissionPolicyClusterLister can list ValidatingAdmissionPolicies across all workspaces, or scope down to a ValidatingAdmissionPolicyLister for one workspace. All objects returned here must be treated as read-only.
type ValidatingAdmissionPolicyClusterListerExpansion ¶
type ValidatingAdmissionPolicyClusterListerExpansion interface{}
ValidatingAdmissionPolicyClusterListerExpansion allows custom methods to be added to ValidatingAdmissionPolicyClusterLister.