type
ProjectRequest
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
}Structural paths selected by a portable project migration command.
Source migration/project.go:28
ActionProjectAction- Requested migration lifecycle action.
DatabasePathstring- Selected adapter database path.
DatabaseURLstring- The DatabaseURL value.
Directorystring- Committed migration artifact directory.
AllowInsecureDatabasebool- The AllowInsecureDatabase value.
AllowMaintenancebool- The AllowMaintenance value.
AllowUnboundedbool- The AllowUnbounded value.
LockWaittime.Duration- The LockWait value.
OperationTimeouttime.Duration- The OperationTimeout value.
LockTimeouttime.Duration- The LockTimeout value.
StatementTimeouttime.Duration- The StatementTimeout value.
BatchTimeouttime.Duration- The BatchTimeout value.
IdleTransactionTimeouttime.Duration- The IdleTransactionTimeout value.
StopAfterPhasestring- The StopAfterPhase value.
StopAfterStepstring- The StopAfterStep value.
Methods
ProjectRequest.Validate()Validate rejects incomplete or unknown project migration requests.