feat: support custom server deployment drafts
This commit is contained in:
@@ -25,6 +25,7 @@ type ServerLifecycleCreate struct {
|
||||
IdempotencyKey string
|
||||
ProfileKey string
|
||||
Bindings map[string]string
|
||||
Deployment ServerDeploymentDefinition
|
||||
}
|
||||
|
||||
type ServerLifecycleCommand struct {
|
||||
@@ -57,6 +58,7 @@ func LifecycleCapabilityForAction(action ServerLifecycleAction) string {
|
||||
|
||||
func CopyServerLifecycleCreate(create ServerLifecycleCreate) ServerLifecycleCreate {
|
||||
create.Bindings = CopyStringMap(create.Bindings)
|
||||
create.Deployment = CopyServerDeploymentDefinition(create.Deployment)
|
||||
return create
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user