MCPcopy
hub / github.com/istio/istio / Key

Method Key

pilot/pkg/model/xds_cache.go:62–62  ·  view source on GitHub ↗

Key is the key to be used in cache.

()

Source from the content-addressed store, hash-verified

60 Type() string
61 // Key is the key to be used in cache.
62 Key() any
63 // DependentConfigs is config items that this cache key is dependent on.
64 // Whenever these configs change, we should invalidate this cache entry.
65 DependentConfigs() []ConfigHash

Callers 15

OnRecordMethod · 0.65
CreateLabelFunction · 0.65
TestConfigKeyFunction · 0.65
AddServiceInstancesMethod · 0.65
initServiceRegistryMethod · 0.65
KeysMethod · 0.65
KeysApplyingToMethod · 0.65
ResourceNameMethod · 0.65
AddMethod · 0.65
GetMethod · 0.65

Implementers 4

clusterCachepilot/pkg/networking/core/cluster_cach
Cachepilot/pkg/networking/core/route/route_
SecretResourcepilot/pkg/xds/sds.go
EndpointBuilderpilot/pkg/xds/endpoints/endpoint_build

Calls

no outgoing calls

Tested by 5

OnRecordMethod · 0.52
TestConfigKeyFunction · 0.52
TestSecretResourceKeyFunction · 0.52
sortEndpointsFunction · 0.52
TestXdsCacheFunction · 0.52