| @@ -125,11 +125,23 @@ type PCMInferenceJobInfo struct { | |||||
| type AIJobInfo struct { | type AIJobInfo struct { | ||||
| serder.Metadata `union:"AI"` | serder.Metadata `union:"AI"` | ||||
| JobInfoBase | JobInfoBase | ||||
| Type string `json:"type"` | |||||
| Name string `json:"name"` | |||||
| Description string `json:"description"` | |||||
| Files JobFilesInfo `json:"files"` | |||||
| JobResources JobResources `json:"jobResources"` | |||||
| Type string `json:"type"` | |||||
| Name string `json:"name"` | |||||
| Description string `json:"description"` | |||||
| Files JobFilesInfo `json:"files"` | |||||
| JobResources JobResources `json:"jobResources"` | |||||
| ResourceChoice ResourceChoice `json:"resourceChoice"` | |||||
| } | |||||
| type ResourceChoice struct { | |||||
| Type string `json:"type"` | |||||
| ResourceScopes []ResourceScope `json:"resourceScopes"` | |||||
| } | |||||
| type ResourceScope struct { | |||||
| Name string `json:"name"` | |||||
| Min float64 `json:"min"` | |||||
| Max float64 `json:"max"` | |||||
| } | } | ||||
| type BindingJobInfo struct { | type BindingJobInfo struct { | ||||
| @@ -443,8 +455,9 @@ func (i *JobFileInfoBase) Noop() {} | |||||
| type BindingJobFileInfo struct { | type BindingJobFileInfo struct { | ||||
| serder.Metadata `union:"Binding"` | serder.Metadata `union:"Binding"` | ||||
| JobFileInfoBase | JobFileInfoBase | ||||
| Type string `json:"type"` | |||||
| BindingID int64 `json:"bindingID"` | |||||
| Type string `json:"type"` | |||||
| BindingID int64 `json:"bindingID"` | |||||
| BindingName string `json:"bindingName"` | |||||
| } | } | ||||
| type PackageJobFileInfo struct { | type PackageJobFileInfo struct { | ||||
| @@ -471,8 +484,9 @@ type DataReturnJobFileInfo struct { | |||||
| type ImageJobFileInfo struct { | type ImageJobFileInfo struct { | ||||
| serder.Metadata `union:"Image"` | serder.Metadata `union:"Image"` | ||||
| JobFileInfoBase | JobFileInfoBase | ||||
| Type string `json:"type"` | |||||
| ImageID ImageID `json:"imageID"` | |||||
| Type string `json:"type"` | |||||
| ImageID ImageID `json:"imageID"` | |||||
| ImageName string `json:"imageName"` | |||||
| } | } | ||||
| type JobRuntimeInfo struct { | type JobRuntimeInfo struct { | ||||