bzp2010 commented on code in PR #2883:
URL:
https://github.com/apache/apisix-ingress-controller/pull/2883#discussion_r4044304501
##########
internal/adc/cache/store.go:
##########
@@ -26,24 +27,80 @@ import (
adctypes "github.com/apache/apisix-ingress-controller/api/adc"
"github.com/apache/apisix-ingress-controller/internal/controller/label"
+ "github.com/apache/apisix-ingress-controller/internal/types"
)
type Store struct {
cacheMap map[string]Cache
pluginMetadataMap map[string]adctypes.PluginMetadata
+ // owners maps each service, ssl and consumer a cacheKey holds to the
Kubernetes
+ // resource that produced it, recorded from Insert's labels as it is
written.
+ // global_rule and plugin_metadata don't go through this yet: see
Lookup.
+ owners map[string]map[entityKey]types.NamespacedNameKind
Review Comment:
fixed
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]