Documentation ¶
Index ¶
- func NewIngressClassClusterLister(indexer cache.Indexer) *ingressClassClusterLister
- func NewIngressClusterLister(indexer cache.Indexer) *ingressClusterLister
- func NewNetworkPolicyClusterLister(indexer cache.Indexer) *networkPolicyClusterLister
- type IngressClassClusterLister
- type IngressClassClusterListerExpansion
- type IngressClusterLister
- type IngressClusterListerExpansion
- type NetworkPolicyClusterLister
- type NetworkPolicyClusterListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIngressClassClusterLister ¶
NewIngressClassClusterLister returns a new IngressClassClusterLister. 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 NewIngressClusterLister ¶
NewIngressClusterLister returns a new IngressClusterLister. 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 - has the kcpcache.ClusterAndNamespaceIndex as an index
func NewNetworkPolicyClusterLister ¶
NewNetworkPolicyClusterLister returns a new NetworkPolicyClusterLister. 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 - has the kcpcache.ClusterAndNamespaceIndex as an index
Types ¶
type IngressClassClusterLister ¶
type IngressClassClusterLister interface { // List lists all IngressClasses in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*networkingv1.IngressClass, err error) // Cluster returns a lister that can list and get IngressClasses in one workspace. Cluster(clusterName logicalcluster.Name) networkingv1listers.IngressClassLister IngressClassClusterListerExpansion }
IngressClassClusterLister can list IngressClasses across all workspaces, or scope down to a IngressClassLister for one workspace. All objects returned here must be treated as read-only.
type IngressClassClusterListerExpansion ¶
type IngressClassClusterListerExpansion interface{}
IngressClassClusterListerExpansion allows custom methods to be added to IngressClassClusterLister.
type IngressClusterLister ¶
type IngressClusterLister interface { // List lists all Ingresses in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*networkingv1.Ingress, err error) // Cluster returns a lister that can list and get Ingresses in one workspace. Cluster(clusterName logicalcluster.Name) networkingv1listers.IngressLister IngressClusterListerExpansion }
IngressClusterLister can list Ingresses across all workspaces, or scope down to a IngressLister for one workspace. All objects returned here must be treated as read-only.
type IngressClusterListerExpansion ¶
type IngressClusterListerExpansion interface{}
IngressClusterListerExpansion allows custom methods to be added to IngressClusterLister.
type NetworkPolicyClusterLister ¶
type NetworkPolicyClusterLister interface { // List lists all NetworkPolicies in the indexer. // Objects returned here must be treated as read-only. List(selector labels.Selector) (ret []*networkingv1.NetworkPolicy, err error) // Cluster returns a lister that can list and get NetworkPolicies in one workspace. Cluster(clusterName logicalcluster.Name) networkingv1listers.NetworkPolicyLister NetworkPolicyClusterListerExpansion }
NetworkPolicyClusterLister can list NetworkPolicies across all workspaces, or scope down to a NetworkPolicyLister for one workspace. All objects returned here must be treated as read-only.
type NetworkPolicyClusterListerExpansion ¶
type NetworkPolicyClusterListerExpansion interface{}
NetworkPolicyClusterListerExpansion allows custom methods to be added to NetworkPolicyClusterLister.