MCPcopy
hub / github.com/kumahq/kuma / DestinationList

Interface DestinationList

pkg/core/resources/apis/core/interfaces.go:35–39  ·  view source on GitHub ↗

DestinationList is a list wrapper for Destination resources. Implementations should embed `core_model.ResourceList` and provide items via `GetDestinations`. All items must be the same destination kind, for example all MeshService or all MeshExternalService. The order should be stable for a single re

Source from the content-addressed store, hash-verified

33// destination kind, for example all MeshService or all MeshExternalService. The order should
34// be stable for a single read to make indexing and hashing predictable
35type DestinationList interface {
36 core_model.ResourceList
37 // GetDestinations returns all Destination resources in the list.
38 GetDestinations() []Destination
39}

Callers 8

DestinationsMethod · 0.65
DestinationsMethod · 0.65
DestinationsMethod · 0.65
DestinationsMethod · 0.65
DestinationsMethod · 0.65
DestinationsMethod · 0.65
DestinationsMethod · 0.65
DestinationsMethod · 0.65

Implementers 12

MeshExternalServiceResourceListpkg/core/resources/apis/meshexternalse
MeshMultiZoneServiceResourceListpkg/core/resources/apis/meshmultizones
MeshServiceResourceListpkg/core/resources/apis/meshservice/ap
TrafficLogapi/mesh/v1alpha1/traffic_log.pb.go
FaultInjectionapi/mesh/v1alpha1/fault_injection.pb.g
Timeoutapi/mesh/v1alpha1/timeout.pb.go
TrafficRouteapi/mesh/v1alpha1/traffic_route.pb.go
Retryapi/mesh/v1alpha1/retry.pb.go
RateLimitapi/mesh/v1alpha1/rate_limit.pb.go
CircuitBreakerapi/mesh/v1alpha1/circuit_breaker.pb.g
HealthCheckapi/mesh/v1alpha1/health_check.pb.go
TrafficPermissionapi/mesh/v1alpha1/traffic_permission.p

Calls

no outgoing calls

Tested by

no test coverage detected