# Functions

CreateDerivedServiceAnnotation creates a JSON object containing a slice of maps of clusterIds and derived service names.
CreateDerivedServiceStruct creates struct representation of a derived service.
No description provided by the author
No description provided by the author
CreateServiceImportStruct creates struct representation of a ServiceImport.
DerivedName computes the "placeholder" name for an imported service.
EndpointPortToPort converts a k8s endpoint port to an internal model port.
ExtractEndpointPorts extracts all unique endpoint ports from a slice of endpoints.
ExtractServicePorts extracts all unique service ports from a slice of endpoints.
ExtractServiceType finds the ServiceType of a given service as Headless/ClusterSetIP.
GetClusterIpsFromServices returns list of ClusterIPs from services.
No description provided by the author
No description provided by the author
PortToEndpointPort converts an internal model port to a k8s endpoint port.
PortToServiceImportPort converts an internal model port to a service import port.
PortToServicePort converts an internal model port to a k8s service port.
ServiceImportPortToPort converts a service import port to an internal model port.
ServicePortToPort converts a k8s service port to internal model port.
ServiceTypetoServiceImportType converts model service type to multicluster ServiceImport type.

# Constants

DerivedServiceAnnotation annotates a ServiceImport with derived Service name.
LabelDerivedServiceOriginatingName indicates the name of the multi-cluster service that the derived service originated from.
LabelEndpointSliceManagedBy indicates the name of the entity that manages the EndpointSlice.
LabelServiceImportName indicates the name of the multi-cluster service that an EndpointSlice belongs to.
LabelSourceCluster indicates the id of the cluster the object was created for.
ServiceExportFinalizer finalizer to perform cloudmap resource cleanup on delete.
ValueEndpointSliceManagedBy indicates the name of the entity that manages the EndpointSlice.

# Structs

CloudMapReconciler reconciles state of Cloud Map services with local ServiceImport objects.
No description provided by the author
No description provided by the author
ServiceExportReconciler reconciles a ServiceExport object.