|
|
|
@@ -450,6 +450,7 @@ var DataBindingTypeUnion = types.NewTypeUnion[DataBinding]( |
|
|
|
(*ModelBinding)(nil), |
|
|
|
(*CodeBinding)(nil), |
|
|
|
(*ImageBinding)(nil), |
|
|
|
(*HPCBinding)(nil), |
|
|
|
) |
|
|
|
|
|
|
|
var _ = serder.UseTypeUnionInternallyTagged(&DataBindingTypeUnion, "type") |
|
|
|
@@ -506,6 +507,17 @@ type CodeBinding struct { |
|
|
|
Branch string `json:"branch"` |
|
|
|
} |
|
|
|
|
|
|
|
type HPCBinding struct { |
|
|
|
serder.Metadata `union:"HPCSlurm"` |
|
|
|
DataBindingBase |
|
|
|
Type string `json:"type"` |
|
|
|
Name string `json:"name"` |
|
|
|
OperateType string `json:"operateType"` |
|
|
|
ClusterIDs []schsdk.ClusterID `json:"clusterIDs"` |
|
|
|
Description string `json:"description"` |
|
|
|
PackageID cdssdk.PackageID `json:"packageID"` |
|
|
|
} |
|
|
|
|
|
|
|
//type ImageBinding struct { |
|
|
|
// serder.Metadata `union:"image"` |
|
|
|
// DataBindingBase |
|
|
|
|