type
ProjectRequest
Structural paths selected by a portable project migration command.
Properties
| Property | Type | Description |
|---|---|---|
Action | ProjectAction | Requested migration lifecycle action. |
DatabasePath | string | Selected adapter database path. |
DatabaseURL | string | The DatabaseURL value. |
Directory | string | Committed migration artifact directory. |
AllowInsecureDatabase | bool | The AllowInsecureDatabase value. |
AllowMaintenance | bool | The AllowMaintenance value. |
AllowUnbounded | bool | The AllowUnbounded value. |
LockWait | time.Duration | The LockWait value. |
OperationTimeout | time.Duration | The OperationTimeout value. |
LockTimeout | time.Duration | The LockTimeout value. |
StatementTimeout | time.Duration | The StatementTimeout value. |
BatchTimeout | time.Duration | The BatchTimeout value. |
IdleTransactionTimeout | time.Duration | The IdleTransactionTimeout value. |
StopAfterPhase | string | The StopAfterPhase value. |
StopAfterStep | string | The StopAfterStep value. |
Full signature
type ProjectRequest struct {
Action ProjectAction
DatabasePath string
DatabaseURL string
Directory string
AllowInsecureDatabase bool
AllowMaintenance bool
AllowUnbounded bool
LockWait time.Duration
OperationTimeout time.Duration
LockTimeout time.Duration
StatementTimeout time.Duration
BatchTimeout time.Duration
IdleTransactionTimeout time.Duration
StopAfterPhase string
StopAfterStep string
}Methods
ProjectRequest.Validate()Validate rejects incomplete or unknown project migration requests.