Setu-TS
    Preparing search index...

    Reads EndpointSlices for a service.

    0.2.0

    Implements

    Index
    kind: "kubernetes" = 'kubernetes'

    Backend id.

    • Resolves the bearer token, reading the projected file when no explicit token was configured.

      Returns Promise<string>

      The Authorization header value

      If the projected token file does not exist (not running in a pod); configure token and apiServer explicitly. Any other read failure is rethrown unchanged.

    • Builds the EndpointSlice list URL for a service.

      Parameters

      • serviceName: string

        Logical service name

      • Optionalextra: Readonly<Record<string, string>>

        Extra query parameters (the watch adds its own)

      Returns string

      The absolute URL