@daocloud-proto/kpanda 0.27.0-dev-1bb6e405 → 0.27.0-dev-683b4038
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
export enum FeatureGateName {
|
|
8
|
+
FEATURE_GATE_NAME_TYPE_UNSPECIFIED = "FEATURE_GATE_NAME_TYPE_UNSPECIFIED",
|
|
9
|
+
DownloadClusterKubeConfig = "DownloadClusterKubeConfig",
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export enum PreRelease {
|
|
13
|
+
PRE_RELEASE_TYPE_UNSPECIFIED = "PRE_RELEASE_TYPE_UNSPECIFIED",
|
|
14
|
+
ALPHA = "ALPHA",
|
|
15
|
+
BETA = "BETA",
|
|
16
|
+
GA = "GA",
|
|
17
|
+
DEPRECATED = "DEPRECATED",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
export type FeatureGate = {
|
|
21
|
+
name?: FeatureGateName
|
|
22
|
+
enabled?: boolean
|
|
23
|
+
lockToDefault?: boolean
|
|
24
|
+
preRelease?: PreRelease
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export type ListFeatureGatesRequest = {
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export type ListFeatureGatesResponse = {
|
|
31
|
+
items?: FeatureGate[]
|
|
32
|
+
}
|
|
@@ -44,6 +44,7 @@ import * as KpandaIoApiCoreV1alpha1Secret from "../core/v1alpha1/secret.pb"
|
|
|
44
44
|
import * as KpandaIoApiCoreV1alpha1Service from "../core/v1alpha1/service.pb"
|
|
45
45
|
import * as KpandaIoApiCoreV1alpha1Serviceaccount from "../core/v1alpha1/serviceaccount.pb"
|
|
46
46
|
import * as KpandaIoApiEtcdbackuprestoreV1alpha1Etcdbackuprestore from "../etcdbackuprestore/v1alpha1/etcdbackuprestore.pb"
|
|
47
|
+
import * as KpandaIoApiFeaturegatesV1alpha1Featuregates from "../featuregates/v1alpha1/featuregates.pb"
|
|
47
48
|
import * as KpandaIoApiGhippoV1alpha1Workspace from "../ghippo/v1alpha1/workspace.pb"
|
|
48
49
|
import * as KpandaIoApiInsightV1alpha1Insight from "../insight/v1alpha1/insight.pb"
|
|
49
50
|
import * as KpandaIoApiKangarooV1alpha1Image from "../kangaroo/v1alpha1/image.pb"
|
|
@@ -1137,4 +1138,9 @@ export class SettingService {
|
|
|
1137
1138
|
static GPUSetting(req: GoogleProtobufEmpty.Empty, initReq?: fm.InitReq): Promise<KpandaIoApiSettingV1alpha1Setting.GPUSettingResponse> {
|
|
1138
1139
|
return fm.fetchReq<GoogleProtobufEmpty.Empty, KpandaIoApiSettingV1alpha1Setting.GPUSettingResponse>(`/apis/kpanda.io/v1alpha1/settings/gpu?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
1139
1140
|
}
|
|
1141
|
+
}
|
|
1142
|
+
export class FeatureGate {
|
|
1143
|
+
static ListFeatureGates(req: KpandaIoApiFeaturegatesV1alpha1Featuregates.ListFeatureGatesRequest, initReq?: fm.InitReq): Promise<KpandaIoApiFeaturegatesV1alpha1Featuregates.ListFeatureGatesResponse> {
|
|
1144
|
+
return fm.fetchReq<KpandaIoApiFeaturegatesV1alpha1Featuregates.ListFeatureGatesRequest, KpandaIoApiFeaturegatesV1alpha1Featuregates.ListFeatureGatesResponse>(`/apis/kpanda.io/v1alpha1/featuregates?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
|
|
1145
|
+
}
|
|
1140
1146
|
}
|