@daocloud-proto/kant
Advanced tools
Comparing version 0.11.0-alpha1 to 0.11.0-alpha2
@@ -14,2 +14,10 @@ /* eslint-disable */ | ||
name?: string | ||
} | ||
export type GetFirstControlPlaneNodeIPRequest = { | ||
cluster?: string | ||
} | ||
export type GetFirstControlPlaneNodeIPResponse = { | ||
ip?: string | ||
} |
@@ -58,2 +58,5 @@ /* eslint-disable */ | ||
} | ||
static GetFirstControlPlaneNodeIP(req: KantIoApiCoreV1alpha1Node.GetFirstControlPlaneNodeIPRequest, initReq?: fm.InitReq): Promise<KantIoApiCoreV1alpha1Node.GetFirstControlPlaneNodeIPResponse> { | ||
return fm.fetchReq<KantIoApiCoreV1alpha1Node.GetFirstControlPlaneNodeIPRequest, KantIoApiCoreV1alpha1Node.GetFirstControlPlaneNodeIPResponse>(`/apis/core.kant.io/v1alpha1/clusters/${req["cluster"]}/nodes/first-controlplane/address?${fm.renderURLSearchParams(req, ["cluster"])}`, {...initReq, method: "GET"}) | ||
} | ||
} | ||
@@ -60,0 +63,0 @@ export class DeploymentApp { |
{ | ||
"name":"@daocloud-proto/kant", | ||
"version":"0.11.0-alpha1", | ||
"version":"0.11.0-alpha2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
211241
6165