Documentation ¶
Index ¶
- func BuildDestinationMap(ingress *core_mesh.ZoneIngressResource) core_xds.DestinationMap
- func BuildEndpointMap(destinations core_xds.DestinationMap, ...) core_xds.EndpointMap
- func GetExternalAvailableServices(others []*core_mesh.ExternalServiceResource) []*mesh_proto.ZoneIngress_AvailableService
- func GetIngressAvailableServices(others []*core_mesh.DataplaneResource) []*mesh_proto.ZoneIngress_AvailableService
- func UpdateAvailableServices(ctx context.Context, rm manager.ResourceManager, ...) error
- type MeshGatewayDataplanes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildDestinationMap ¶
func BuildDestinationMap(ingress *core_mesh.ZoneIngressResource) core_xds.DestinationMap
func BuildEndpointMap ¶
func BuildEndpointMap( destinations core_xds.DestinationMap, dataplanes []*core_mesh.DataplaneResource, externalServices []*core_mesh.ExternalServiceResource, zoneEgresses []*core_mesh.ZoneEgressResource, gateways []*core_mesh.MeshGatewayResource, ) core_xds.EndpointMap
func GetExternalAvailableServices ¶ added in v1.8.1
func GetExternalAvailableServices(others []*core_mesh.ExternalServiceResource) []*mesh_proto.ZoneIngress_AvailableService
func GetIngressAvailableServices ¶
func GetIngressAvailableServices(others []*core_mesh.DataplaneResource) []*mesh_proto.ZoneIngress_AvailableService
func UpdateAvailableServices ¶
func UpdateAvailableServices( ctx context.Context, rm manager.ResourceManager, ingress *core_mesh.ZoneIngressResource, otherDataplanes []*core_mesh.DataplaneResource, meshGateways []*core_mesh.MeshGatewayResource, externalServices []*core_mesh.ExternalServiceResource, ) error
Types ¶
type MeshGatewayDataplanes ¶ added in v1.8.1
type MeshGatewayDataplanes struct { Mesh string Gateways []*core_mesh.MeshGatewayResource Dataplanes []*core_mesh.DataplaneResource }
MeshGatewayDataplanes is a helper type to hold the MeshGateways and Dataplanes for a mesh.
Click to show internal directories.
Click to hide internal directories.