@daocloud-proto/baize 0.104.1 → 0.104.3
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.
package/common/k8s.pb.ts
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as BaizeCommonK8s from "../../../common/k8s.pb"
|
|
8
|
+
|
|
9
|
+
export enum AnalysisConfigType {
|
|
10
|
+
TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
|
|
11
|
+
TENSORBOARD = "TENSORBOARD",
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export type AnalysisConfig = {
|
|
15
|
+
enabled?: boolean
|
|
16
|
+
type?: AnalysisConfigType
|
|
17
|
+
kubeVolumes?: BaizeCommonK8s.KubeVolume[]
|
|
18
|
+
logPath?: string
|
|
19
|
+
}
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
import * as BaizeCommonCommon from "../../../common/common.pb"
|
|
8
8
|
import * as BaizeCommonK8s from "../../../common/k8s.pb"
|
|
9
9
|
import * as fm from "../../../fetch.pb"
|
|
10
|
+
import * as BaizeManagement_apiAnalysisV1alpha1Analysis from "../../analysis/v1alpha1/analysis.pb"
|
|
10
11
|
import * as BaizeManagement_apiJobV1alpha1Paddle from "./paddle.pb"
|
|
11
12
|
import * as BaizeManagement_apiJobV1alpha1Pytorch from "./pytorch.pb"
|
|
12
13
|
import * as BaizeManagement_apiJobV1alpha1Tfjob from "./tfjob.pb"
|
|
@@ -40,6 +41,7 @@ export enum JobActionRequestAction {
|
|
|
40
41
|
runningDuration?: number
|
|
41
42
|
totalResources?: BaizeCommonK8s.Resources
|
|
42
43
|
affinity?: BaizeCommonK8s.Affinity
|
|
44
|
+
analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
export type Job = BaseJob
|
|
@@ -77,6 +79,7 @@ export type SingleJobRequest = {
|
|
|
77
79
|
description?: string
|
|
78
80
|
queueName?: string
|
|
79
81
|
priorityClass?: string
|
|
82
|
+
analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
|
|
80
83
|
}
|
|
81
84
|
|
|
82
85
|
export type CreateJobRequest = BaseCreateJobRequest
|
|
@@ -8,6 +8,7 @@ import * as BaizeCommonCommon from "../../../common/common.pb"
|
|
|
8
8
|
import * as BaizeCommonK8s from "../../../common/k8s.pb"
|
|
9
9
|
import * as fm from "../../../fetch.pb"
|
|
10
10
|
import * as GoogleProtobufTimestamp from "../../../google/protobuf/timestamp.pb"
|
|
11
|
+
import * as BaizeManagement_apiAnalysisV1alpha1Analysis from "../../analysis/v1alpha1/analysis.pb"
|
|
11
12
|
|
|
12
13
|
export enum NotebookType {
|
|
13
14
|
TYPE_UNSPECIFIED = "TYPE_UNSPECIFIED",
|
|
@@ -75,6 +76,7 @@ export type Notebook = {
|
|
|
75
76
|
creationTimestamp?: GoogleProtobufTimestamp.Timestamp
|
|
76
77
|
status?: NotebookStatus
|
|
77
78
|
priorityClass?: string
|
|
79
|
+
analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
|
|
78
80
|
}
|
|
79
81
|
|
|
80
82
|
export type ListNotebooksResponse = {
|
|
@@ -98,6 +100,7 @@ export type CreateNotebookRequest = {
|
|
|
98
100
|
type?: NotebookType
|
|
99
101
|
config?: NotebookConfig
|
|
100
102
|
priorityClass?: string
|
|
103
|
+
analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
|
|
101
104
|
}
|
|
102
105
|
|
|
103
106
|
export type UpdateNotebookRequest = {
|
|
@@ -107,6 +110,7 @@ export type UpdateNotebookRequest = {
|
|
|
107
110
|
name?: string
|
|
108
111
|
config?: NotebookConfig
|
|
109
112
|
priorityClass?: string
|
|
113
|
+
analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
|
|
110
114
|
}
|
|
111
115
|
|
|
112
116
|
export type NotebookActionRequest = {
|