Skip to main content

Function: asQuery()

function asQuery(queryParams?: QueryParameters): string

Converts k8s queryParams to a URL query string.

Parameters

ParameterTypeDescription
queryParams?QueryParametersThe k8s API query parameters to convert.

Returns

string

The query string (starting with '?'), or empty string.

Defined in

src/lib/k8s/api/v1/formatUrl.ts:35