You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package schsdk
-
- import (
- "gitlink.org.cn/cloudream/common/pkgs/types"
- "gitlink.org.cn/cloudream/common/utils/serder"
- )
-
- type JCWNodeInfos struct {
- Jobs []JobInfo `json:"jobs"`
- }
-
- type JCWNode interface {
- }
-
- var JCWNodeTypeUnion = types.NewTypeUnion[JCWNode](
- (*JCWAITrainNode)(nil),
- )
- var _ = serder.UseTypeUnionInternallyTagged(&JCWNodeTypeUnion, "type")
-
- type JCWNodeBase struct {
- LocalJobID string `json:"id"`
- Name string `json:"name"`
- }
-
- type JCWAITrainNode struct {
- serder.Metadata `union:"Normal"`
- JobInfoBase
- Type string `json:"type"`
- Files JobFilesInfo `json:"files"`
- Runtime JobRuntimeInfo `json:"runtime"`
- Resources JobResourcesInfo `json:"resources"`
- Services JobServicesInfo `json:"services"`
- ModelJobInfo ModelJobInfo `json:"modelJobInfo"`
- }
|