method KubernetesProvider.prototype.listUrl
KubernetesProvider.prototype.listUrl(
serviceName: string,
extra?: Readonly<Record<string, string>>
): string

Builds the EndpointSlice list URL for a service.

Parameters

serviceName: string

Logical service name

optional
extra: Readonly<Record<string, string>>

Extra query parameters (the watch adds its own)

Return Type

string

The absolute URL

Usage

import { KubernetesProvider } from "service-discovery-plugin/src/index.ts";