Skip to main content

Function: post()

function post(
url: string,
json: object | JSON | KubeObjectInterface,
autoLogoutOnAuthError: boolean,
options: ClusterRequestParams): Promise<any>

Parameters

ParameterTypeDefault value
urlstringundefined
jsonobject | JSON | KubeObjectInterfaceundefined
autoLogoutOnAuthErrorbooleantrue
optionsClusterRequestParams{}

Returns

Promise<any>

Defined in

src/lib/k8s/api/v1/clusterRequests.ts:225