| @@ -450,6 +450,7 @@ var DataBindingTypeUnion = types.NewTypeUnion[DataBinding]( | |||||
| (*ModelBinding)(nil), | (*ModelBinding)(nil), | ||||
| (*CodeBinding)(nil), | (*CodeBinding)(nil), | ||||
| (*ImageBinding)(nil), | (*ImageBinding)(nil), | ||||
| (*HPCBinding)(nil), | |||||
| ) | ) | ||||
| var _ = serder.UseTypeUnionInternallyTagged(&DataBindingTypeUnion, "type") | var _ = serder.UseTypeUnionInternallyTagged(&DataBindingTypeUnion, "type") | ||||
| @@ -506,6 +507,17 @@ type CodeBinding struct { | |||||
| Branch string `json:"branch"` | 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 { | //type ImageBinding struct { | ||||
| // serder.Metadata `union:"image"` | // serder.Metadata `union:"image"` | ||||
| // DataBindingBase | // DataBindingBase | ||||