add exec
This commit is contained in:
parent
301ef8dc05
commit
11905339bb
@ -31,7 +31,7 @@ type ProcessingResource struct {
|
||||
OpenSource bool `json:"open_source" bson:"open_source" default:"false"`
|
||||
License string `json:"license,omitempty" bson:"license,omitempty"`
|
||||
Maturity string `json:"maturity,omitempty" bson:"maturity,omitempty"`
|
||||
Container common.Container `json:"container,omitempty" bson:"container,omitempty"` // Container is the container
|
||||
Container *common.Container `json:"container,omitempty" bson:"container,omitempty"` // Container is the container
|
||||
}
|
||||
|
||||
type PricedProcessingResource struct {
|
||||
|
@ -56,7 +56,8 @@ func (abs *AbsResource) SetResourceModel(model *resource_model.ResourceModel) {
|
||||
|
||||
type AbstractResource[T ResourceInstanceITF] struct {
|
||||
AbsResource
|
||||
Instances []T `json:"instances,omitempty" bson:"instances,omitempty"` // Bill is the bill of the resource // Bill is the bill of the resource
|
||||
SelectedInstanceIndex int `json:"selected_instance_index,omitempty" bson:"selected_instance_index,omitempty"` // SelectedInstance is the selected instance
|
||||
Instances []T `json:"instances,omitempty" bson:"instances,omitempty"` // Bill is the bill of the resource // Bill is the bill of the resource
|
||||
}
|
||||
|
||||
func (abs *AbstractResource[T]) ConvertToPricedResource(
|
||||
|
Loading…
Reference in New Issue
Block a user