@daocloud-proto/baize 0.122.1 → 0.123.0
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.
|
@@ -37,6 +37,13 @@ export enum RestartPolicy {
|
|
|
37
37
|
RESTART_POLICY_ON_FAILURE = "RESTART_POLICY_ON_FAILURE",
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
+
export enum ImagePullPolicy {
|
|
41
|
+
IMAGE_PULL_POLICY_UNSPECIFIED = "IMAGE_PULL_POLICY_UNSPECIFIED",
|
|
42
|
+
IMAGE_PULL_POLICY_ALWAYS = "IMAGE_PULL_POLICY_ALWAYS",
|
|
43
|
+
IMAGE_PULL_POLICY_NEVER = "IMAGE_PULL_POLICY_NEVER",
|
|
44
|
+
IMAGE_PULL_POLICY_IF_NOT_PRESENT = "IMAGE_PULL_POLICY_IF_NOT_PRESENT",
|
|
45
|
+
}
|
|
46
|
+
|
|
40
47
|
export enum JobActionRequestAction {
|
|
41
48
|
JOB_ACTION_UNSPECIFIED = "JOB_ACTION_UNSPECIFIED",
|
|
42
49
|
RESTART = "RESTART",
|
|
@@ -68,6 +75,8 @@ export type Job = {
|
|
|
68
75
|
analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
|
|
69
76
|
trainingConfig?: TrainingConfig
|
|
70
77
|
recoveryConfig?: BaizeManagement_apiJobV1alpha1Common.RecoveryConfig
|
|
78
|
+
cleanCheckpointConfig?: CleanCheckpointConfig
|
|
79
|
+
imagePullPolicy?: ImagePullPolicy
|
|
71
80
|
}
|
|
72
81
|
|
|
73
82
|
export type ListJobsRequest = {
|
|
@@ -124,6 +133,16 @@ export type CreateJobRequest = {
|
|
|
124
133
|
analysis?: BaizeManagement_apiAnalysisV1alpha1Analysis.AnalysisConfig
|
|
125
134
|
trainingConfig?: TrainingConfig
|
|
126
135
|
recoveryConfig?: BaizeManagement_apiJobV1alpha1Common.RecoveryConfig
|
|
136
|
+
cleanCheckpointConfig?: CleanCheckpointConfig
|
|
137
|
+
imagePullPolicy?: ImagePullPolicy
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export type CleanCheckpointConfig = {
|
|
141
|
+
cronExpr?: string
|
|
142
|
+
dirs?: string[]
|
|
143
|
+
retained?: number
|
|
144
|
+
timezone?: string
|
|
145
|
+
prunePattern?: string
|
|
127
146
|
}
|
|
128
147
|
|
|
129
148
|
export type TrainingConfig = {
|