Documentation
¶
Overview ¶
Package mssql implements DBCreator interface for MS SQL Server
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrPasswordEmpty error = errors.New("password can't be empty") ErrPasswordTooShort error = errors.New("password is too short (must be at least 10 chars)") ErrPasswordTooSimple error = errors.New( "password doesn't meet the complexity requirements " + "(must contain 3 out of 4 char types: lowercase char, uppercase char, digit, non-alphanumeric)", ) )
Functions ¶
This section is empty.
Types ¶
type Creator ¶
type Creator struct{}
func (Creator) GetCapabilities ¶
func (c Creator) GetCapabilities() dbcreator.Capabilities
func (Creator) GetDefaultOpts ¶
func (c Creator) GetDefaultOpts() dbcreator.DefaultOpts
func (Creator) ValidatePassword ¶
type ProgressLogger ¶ added in v1.3.0
type ProgressLogger struct {
// contains filtered or unexported fields
}
func NewProgressLogger ¶ added in v1.3.0
func NewProgressLogger(verbose bool) ProgressLogger
func (*ProgressLogger) Done ¶ added in v1.3.0
func (l *ProgressLogger) Done()
func (*ProgressLogger) LogState ¶ added in v1.3.0
func (l *ProgressLogger) LogState(state string)
func (*ProgressLogger) LogVerbose ¶ added in v1.3.0
func (l *ProgressLogger) LogVerbose(s ...any)
type SQLInContainerRunner ¶ added in v1.2.0
type SQLInContainerRunner struct {
// contains filtered or unexported fields
}
func (SQLInContainerRunner) Run ¶ added in v1.2.0
func (r SQLInContainerRunner) Run(sql string) error
func (SQLInContainerRunner) RunInDB ¶ added in v1.2.0
func (r SQLInContainerRunner) RunInDB(sql string) error
func (SQLInContainerRunner) RunSilent ¶ added in v1.2.0
func (r SQLInContainerRunner) RunSilent(sql string) error
Click to show internal directories.
Click to hide internal directories.