You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.
This GitHub Issue is for the exploration and design of a new cleaner MeshCataloger interface.
--
Ongoing Changes
These are PRs and issues that are meant to be merged (fixed) and will improve the mesh catalog interface:
Explorations:
These are incomplete (unmergeable) PRs showing possible refactors and clean-ups:
Other Related Proposals:
Potential cleaned-up interface
After all changes (above) are applied we could end up with the following:
Added
ListMeshServiceForServiceAccount
GetWeightedClustersForUpstream
GetServiceAccountsForCert
Removed
GetSMISpec() smi.MeshSpec
ListServiceAccountsForService(service.MeshService) ([]service.K8sServiceAccount, error)
ListEndpointsForService(service.MeshService) ([]endpoint.Endpoint, error)
GetServicesFromEnvoyCertificate(certificate.CommonName) ([]service.MeshService, error)
GetServicesForServiceAccount(service.K8sServiceAccount) ([]service.MeshService, error)
ListMonitoredNamespaces() []string
ListSMIPolicies() ([]*split.TrafficSplit, []service.K8sServiceAccount, []*spec.HTTPRouteGroup, []*access.TrafficTarget)
RegisterProxy(*envoy.Proxy)
UnregisterProxy(*envoy.Proxy)
ExpectProxy(certificate.CommonName)
The text was updated successfully, but these errors were encountered: