Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
This file was generated by counterfeiter ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Logger
- func (fake *Logger) Alert(arg1 ...interface{})
- func (fake *Logger) AlertArgsForCall(i int) []interface{}
- func (fake *Logger) AlertCallCount() int
- func (fake *Logger) AlertCalls(stub func(...interface{}))
- func (fake *Logger) Alertf(arg1 string, arg2 ...interface{})
- func (fake *Logger) AlertfArgsForCall(i int) (string, []interface{})
- func (fake *Logger) AlertfCallCount() int
- func (fake *Logger) AlertfCalls(stub func(string, ...interface{}))
- func (fake *Logger) Debug(arg1 ...interface{})
- func (fake *Logger) DebugArgsForCall(i int) []interface{}
- func (fake *Logger) DebugCallCount() int
- func (fake *Logger) DebugCalls(stub func(...interface{}))
- func (fake *Logger) Debugf(arg1 string, arg2 ...interface{})
- func (fake *Logger) DebugfArgsForCall(i int) (string, []interface{})
- func (fake *Logger) DebugfCallCount() int
- func (fake *Logger) DebugfCalls(stub func(string, ...interface{}))
- func (fake *Logger) Error(arg1 ...interface{})
- func (fake *Logger) ErrorArgsForCall(i int) []interface{}
- func (fake *Logger) ErrorCallCount() int
- func (fake *Logger) ErrorCalls(stub func(...interface{}))
- func (fake *Logger) Errorf(arg1 string, arg2 ...interface{})
- func (fake *Logger) ErrorfArgsForCall(i int) (string, []interface{})
- func (fake *Logger) ErrorfCallCount() int
- func (fake *Logger) ErrorfCalls(stub func(string, ...interface{}))
- func (fake *Logger) Fatal(arg1 ...interface{})
- func (fake *Logger) FatalArgsForCall(i int) []interface{}
- func (fake *Logger) FatalCallCount() int
- func (fake *Logger) FatalCalls(stub func(...interface{}))
- func (fake *Logger) Fatalf(arg1 string, arg2 ...interface{})
- func (fake *Logger) FatalfArgsForCall(i int) (string, []interface{})
- func (fake *Logger) FatalfCallCount() int
- func (fake *Logger) FatalfCalls(stub func(string, ...interface{}))
- func (fake *Logger) Fields() map[string]interface{}
- func (fake *Logger) FieldsCallCount() int
- func (fake *Logger) FieldsCalls(stub func() map[string]interface{})
- func (fake *Logger) FieldsReturns(result1 map[string]interface{})
- func (fake *Logger) FieldsReturnsOnCall(i int, result1 map[string]interface{})
- func (fake *Logger) Info(arg1 ...interface{})
- func (fake *Logger) InfoArgsForCall(i int) []interface{}
- func (fake *Logger) InfoCallCount() int
- func (fake *Logger) InfoCalls(stub func(...interface{}))
- func (fake *Logger) Infof(arg1 string, arg2 ...interface{})
- func (fake *Logger) InfofArgsForCall(i int) (string, []interface{})
- func (fake *Logger) InfofCallCount() int
- func (fake *Logger) InfofCalls(stub func(string, ...interface{}))
- func (fake *Logger) Invocations() map[string][][]interface{}
- func (fake *Logger) Notice(arg1 ...interface{})
- func (fake *Logger) NoticeArgsForCall(i int) []interface{}
- func (fake *Logger) NoticeCallCount() int
- func (fake *Logger) NoticeCalls(stub func(...interface{}))
- func (fake *Logger) Noticef(arg1 string, arg2 ...interface{})
- func (fake *Logger) NoticefArgsForCall(i int) (string, []interface{})
- func (fake *Logger) NoticefCallCount() int
- func (fake *Logger) NoticefCalls(stub func(string, ...interface{}))
- func (fake *Logger) Panic(arg1 ...interface{})
- func (fake *Logger) PanicArgsForCall(i int) []interface{}
- func (fake *Logger) PanicCallCount() int
- func (fake *Logger) PanicCalls(stub func(...interface{}))
- func (fake *Logger) Panicf(arg1 string, arg2 ...interface{})
- func (fake *Logger) PanicfArgsForCall(i int) (string, []interface{})
- func (fake *Logger) PanicfCallCount() int
- func (fake *Logger) PanicfCalls(stub func(string, ...interface{}))
- func (fake *Logger) Warn(arg1 ...interface{})
- func (fake *Logger) WarnArgsForCall(i int) []interface{}
- func (fake *Logger) WarnCallCount() int
- func (fake *Logger) WarnCalls(stub func(...interface{}))
- func (fake *Logger) Warnf(arg1 string, arg2 ...interface{})
- func (fake *Logger) WarnfArgsForCall(i int) (string, []interface{})
- func (fake *Logger) WarnfCallCount() int
- func (fake *Logger) WarnfCalls(stub func(string, ...interface{}))
- func (fake *Logger) WithError(arg1 error) log.Logger
- func (fake *Logger) WithErrorArgsForCall(i int) error
- func (fake *Logger) WithErrorCallCount() int
- func (fake *Logger) WithErrorCalls(stub func(error) log.Logger)
- func (fake *Logger) WithErrorReturns(result1 log.Logger)
- func (fake *Logger) WithErrorReturnsOnCall(i int, result1 log.Logger)
- func (fake *Logger) WithField(arg1 string, arg2 interface{}) log.Logger
- func (fake *Logger) WithFieldArgsForCall(i int) (string, interface{})
- func (fake *Logger) WithFieldCallCount() int
- func (fake *Logger) WithFieldCalls(stub func(string, interface{}) log.Logger)
- func (fake *Logger) WithFieldReturns(result1 log.Logger)
- func (fake *Logger) WithFieldReturnsOnCall(i int, result1 log.Logger)
- func (fake *Logger) WithFields(arg1 map[string]interface{}) log.Logger
- func (fake *Logger) WithFieldsArgsForCall(i int) map[string]interface{}
- func (fake *Logger) WithFieldsCallCount() int
- func (fake *Logger) WithFieldsCalls(stub func(map[string]interface{}) log.Logger)
- func (fake *Logger) WithFieldsReturns(result1 log.Logger)
- func (fake *Logger) WithFieldsReturnsOnCall(i int, result1 log.Logger)
- type MigrationGenerator
- func (fake *MigrationGenerator) Create(arg1 *sqlmigr.Migration) error
- func (fake *MigrationGenerator) CreateArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationGenerator) CreateCallCount() int
- func (fake *MigrationGenerator) CreateCalls(stub func(*sqlmigr.Migration) error)
- func (fake *MigrationGenerator) CreateReturns(result1 error)
- func (fake *MigrationGenerator) CreateReturnsOnCall(i int, result1 error)
- func (fake *MigrationGenerator) Invocations() map[string][][]interface{}
- func (fake *MigrationGenerator) Write(arg1 *sqlmigr.Migration, arg2 *sqlmigr.Content) error
- func (fake *MigrationGenerator) WriteArgsForCall(i int) (*sqlmigr.Migration, *sqlmigr.Content)
- func (fake *MigrationGenerator) WriteCallCount() int
- func (fake *MigrationGenerator) WriteCalls(stub func(*sqlmigr.Migration, *sqlmigr.Content) error)
- func (fake *MigrationGenerator) WriteReturns(result1 error)
- func (fake *MigrationGenerator) WriteReturnsOnCall(i int, result1 error)
- type MigrationProvider
- func (fake *MigrationProvider) Delete(arg1 *sqlmigr.Migration) error
- func (fake *MigrationProvider) DeleteArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationProvider) DeleteCallCount() int
- func (fake *MigrationProvider) DeleteCalls(stub func(*sqlmigr.Migration) error)
- func (fake *MigrationProvider) DeleteReturns(result1 error)
- func (fake *MigrationProvider) DeleteReturnsOnCall(i int, result1 error)
- func (fake *MigrationProvider) Exists(arg1 *sqlmigr.Migration) bool
- func (fake *MigrationProvider) ExistsArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationProvider) ExistsCallCount() int
- func (fake *MigrationProvider) ExistsCalls(stub func(*sqlmigr.Migration) bool)
- func (fake *MigrationProvider) ExistsReturns(result1 bool)
- func (fake *MigrationProvider) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *MigrationProvider) Insert(arg1 *sqlmigr.Migration) error
- func (fake *MigrationProvider) InsertArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationProvider) InsertCallCount() int
- func (fake *MigrationProvider) InsertCalls(stub func(*sqlmigr.Migration) error)
- func (fake *MigrationProvider) InsertReturns(result1 error)
- func (fake *MigrationProvider) InsertReturnsOnCall(i int, result1 error)
- func (fake *MigrationProvider) Invocations() map[string][][]interface{}
- func (fake *MigrationProvider) Migrations() ([]*sqlmigr.Migration, error)
- func (fake *MigrationProvider) MigrationsCallCount() int
- func (fake *MigrationProvider) MigrationsCalls(stub func() ([]*sqlmigr.Migration, error))
- func (fake *MigrationProvider) MigrationsReturns(result1 []*sqlmigr.Migration, result2 error)
- func (fake *MigrationProvider) MigrationsReturnsOnCall(i int, result1 []*sqlmigr.Migration, result2 error)
- type MigrationRunner
- func (fake *MigrationRunner) Invocations() map[string][][]interface{}
- func (fake *MigrationRunner) Revert(arg1 *sqlmigr.Migration) error
- func (fake *MigrationRunner) RevertArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationRunner) RevertCallCount() int
- func (fake *MigrationRunner) RevertCalls(stub func(*sqlmigr.Migration) error)
- func (fake *MigrationRunner) RevertReturns(result1 error)
- func (fake *MigrationRunner) RevertReturnsOnCall(i int, result1 error)
- func (fake *MigrationRunner) Run(arg1 *sqlmigr.Migration) error
- func (fake *MigrationRunner) RunArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationRunner) RunCallCount() int
- func (fake *MigrationRunner) RunCalls(stub func(*sqlmigr.Migration) error)
- func (fake *MigrationRunner) RunReturns(result1 error)
- func (fake *MigrationRunner) RunReturnsOnCall(i int, result1 error)
- type ModelGenerator
- func (fake *ModelGenerator) Generate(arg1 *sqlmodel.GeneratorContext) error
- func (fake *ModelGenerator) GenerateArgsForCall(i int) *sqlmodel.GeneratorContext
- func (fake *ModelGenerator) GenerateCallCount() int
- func (fake *ModelGenerator) GenerateCalls(stub func(*sqlmodel.GeneratorContext) error)
- func (fake *ModelGenerator) GenerateReturns(result1 error)
- func (fake *ModelGenerator) GenerateReturnsOnCall(i int, result1 error)
- func (fake *ModelGenerator) Invocations() map[string][][]interface{}
- type ModelTagBuilder
- func (fake *ModelTagBuilder) Build(column *sqlmodel.Column) string
- func (fake *ModelTagBuilder) BuildArgsForCall(i int) *sqlmodel.Column
- func (fake *ModelTagBuilder) BuildCallCount() int
- func (fake *ModelTagBuilder) BuildReturns(result1 string)
- func (fake *ModelTagBuilder) Invocations() map[string][][]interface{}
- type Querier
- func (fake *Querier) Close() error
- func (fake *Querier) CloseCallCount() int
- func (fake *Querier) CloseCalls(stub func() error)
- func (fake *Querier) CloseReturns(result1 error)
- func (fake *Querier) CloseReturnsOnCall(i int, result1 error)
- func (fake *Querier) Invocations() map[string][][]interface{}
- func (fake *Querier) Query(arg1 string, arg2 ...interface{}) (*sql.Rows, error)
- func (fake *Querier) QueryArgsForCall(i int) (string, []interface{})
- func (fake *Querier) QueryCallCount() int
- func (fake *Querier) QueryCalls(stub func(string, ...interface{}) (*sql.Rows, error))
- func (fake *Querier) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *Querier) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *Querier) QueryRow(arg1 string, arg2 ...interface{}) *sql.Row
- func (fake *Querier) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *Querier) QueryRowCallCount() int
- func (fake *Querier) QueryRowCalls(stub func(string, ...interface{}) *sql.Row)
- func (fake *Querier) QueryRowReturns(result1 *sql.Row)
- func (fake *Querier) QueryRowReturnsOnCall(i int, result1 *sql.Row)
- type SchemaProvider
- func (fake *SchemaProvider) Close() error
- func (fake *SchemaProvider) CloseCallCount() int
- func (fake *SchemaProvider) CloseCalls(stub func() error)
- func (fake *SchemaProvider) CloseReturns(result1 error)
- func (fake *SchemaProvider) CloseReturnsOnCall(i int, result1 error)
- func (fake *SchemaProvider) Invocations() map[string][][]interface{}
- func (fake *SchemaProvider) Schema(arg1 string, arg2 ...string) (*sqlmodel.Schema, error)
- func (fake *SchemaProvider) SchemaArgsForCall(i int) (string, []string)
- func (fake *SchemaProvider) SchemaCallCount() int
- func (fake *SchemaProvider) SchemaCalls(stub func(string, ...string) (*sqlmodel.Schema, error))
- func (fake *SchemaProvider) SchemaReturns(result1 *sqlmodel.Schema, result2 error)
- func (fake *SchemaProvider) SchemaReturnsOnCall(i int, result1 *sqlmodel.Schema, result2 error)
- func (fake *SchemaProvider) Tables(arg1 string) ([]string, error)
- func (fake *SchemaProvider) TablesArgsForCall(i int) string
- func (fake *SchemaProvider) TablesCallCount() int
- func (fake *SchemaProvider) TablesCalls(stub func(string) ([]string, error))
- func (fake *SchemaProvider) TablesReturns(result1 []string, result2 error)
- func (fake *SchemaProvider) TablesReturnsOnCall(i int, result1 []string, result2 error)
- type TagBuilder
- func (fake *TagBuilder) Build(arg1 *sqlmodel.Column) string
- func (fake *TagBuilder) BuildArgsForCall(i int) *sqlmodel.Column
- func (fake *TagBuilder) BuildCallCount() int
- func (fake *TagBuilder) BuildCalls(stub func(*sqlmodel.Column) string)
- func (fake *TagBuilder) BuildReturns(result1 string)
- func (fake *TagBuilder) BuildReturnsOnCall(i int, result1 string)
- func (fake *TagBuilder) Invocations() map[string][][]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct { AlertStub func(...interface{}) AlertfStub func(string, ...interface{}) DebugStub func(...interface{}) DebugfStub func(string, ...interface{}) ErrorStub func(...interface{}) ErrorfStub func(string, ...interface{}) FatalStub func(...interface{}) FatalfStub func(string, ...interface{}) FieldsStub func() map[string]interface{} InfoStub func(...interface{}) InfofStub func(string, ...interface{}) NoticeStub func(...interface{}) NoticefStub func(string, ...interface{}) PanicStub func(...interface{}) PanicfStub func(string, ...interface{}) WarnStub func(...interface{}) WarnfStub func(string, ...interface{}) WithErrorStub func(error) log.Logger WithFieldStub func(string, interface{}) log.Logger WithFieldsStub func(map[string]interface{}) log.Logger // contains filtered or unexported fields }
func (*Logger) AlertArgsForCall ¶
func (*Logger) AlertCallCount ¶
func (*Logger) AlertCalls ¶
func (fake *Logger) AlertCalls(stub func(...interface{}))
func (*Logger) AlertfArgsForCall ¶
func (*Logger) AlertfCallCount ¶
func (*Logger) AlertfCalls ¶
func (*Logger) DebugArgsForCall ¶
func (*Logger) DebugCallCount ¶
func (*Logger) DebugCalls ¶
func (fake *Logger) DebugCalls(stub func(...interface{}))
func (*Logger) DebugfArgsForCall ¶
func (*Logger) DebugfCallCount ¶
func (*Logger) DebugfCalls ¶
func (*Logger) ErrorArgsForCall ¶
func (*Logger) ErrorCallCount ¶
func (*Logger) ErrorCalls ¶
func (fake *Logger) ErrorCalls(stub func(...interface{}))
func (*Logger) ErrorfArgsForCall ¶
func (*Logger) ErrorfCallCount ¶
func (*Logger) ErrorfCalls ¶
func (*Logger) FatalArgsForCall ¶
func (*Logger) FatalCallCount ¶
func (*Logger) FatalCalls ¶
func (fake *Logger) FatalCalls(stub func(...interface{}))
func (*Logger) FatalfArgsForCall ¶
func (*Logger) FatalfCallCount ¶
func (*Logger) FatalfCalls ¶
func (*Logger) FieldsCallCount ¶
func (*Logger) FieldsCalls ¶
func (*Logger) FieldsReturns ¶
func (*Logger) FieldsReturnsOnCall ¶
func (*Logger) InfoArgsForCall ¶
func (*Logger) InfoCallCount ¶
func (*Logger) InfofArgsForCall ¶
func (*Logger) InfofCallCount ¶
func (*Logger) InfofCalls ¶
func (*Logger) Invocations ¶
func (*Logger) NoticeArgsForCall ¶
func (*Logger) NoticeCallCount ¶
func (*Logger) NoticeCalls ¶
func (fake *Logger) NoticeCalls(stub func(...interface{}))
func (*Logger) NoticefArgsForCall ¶
func (*Logger) NoticefCallCount ¶
func (*Logger) NoticefCalls ¶
func (*Logger) PanicArgsForCall ¶
func (*Logger) PanicCallCount ¶
func (*Logger) PanicCalls ¶
func (fake *Logger) PanicCalls(stub func(...interface{}))
func (*Logger) PanicfArgsForCall ¶
func (*Logger) PanicfCallCount ¶
func (*Logger) PanicfCalls ¶
func (*Logger) WarnArgsForCall ¶
func (*Logger) WarnCallCount ¶
func (*Logger) WarnfArgsForCall ¶
func (*Logger) WarnfCallCount ¶
func (*Logger) WarnfCalls ¶
func (*Logger) WithErrorArgsForCall ¶
func (*Logger) WithErrorCallCount ¶
func (*Logger) WithErrorReturns ¶
func (*Logger) WithErrorReturnsOnCall ¶
func (*Logger) WithFieldArgsForCall ¶
func (*Logger) WithFieldCallCount ¶
func (*Logger) WithFieldCalls ¶
func (*Logger) WithFieldReturns ¶
func (*Logger) WithFieldReturnsOnCall ¶
func (*Logger) WithFieldsArgsForCall ¶
func (*Logger) WithFieldsCallCount ¶
func (*Logger) WithFieldsCalls ¶
func (*Logger) WithFieldsReturns ¶
type MigrationGenerator ¶
type MigrationGenerator struct { CreateStub func(*sqlmigr.Migration) error WriteStub func(*sqlmigr.Migration, *sqlmigr.Content) error // contains filtered or unexported fields }
func (*MigrationGenerator) Create ¶
func (fake *MigrationGenerator) Create(arg1 *sqlmigr.Migration) error
func (*MigrationGenerator) CreateArgsForCall ¶
func (fake *MigrationGenerator) CreateArgsForCall(i int) *sqlmigr.Migration
func (*MigrationGenerator) CreateCallCount ¶
func (fake *MigrationGenerator) CreateCallCount() int
func (*MigrationGenerator) CreateCalls ¶
func (fake *MigrationGenerator) CreateCalls(stub func(*sqlmigr.Migration) error)
func (*MigrationGenerator) CreateReturns ¶
func (fake *MigrationGenerator) CreateReturns(result1 error)
func (*MigrationGenerator) CreateReturnsOnCall ¶
func (fake *MigrationGenerator) CreateReturnsOnCall(i int, result1 error)
func (*MigrationGenerator) Invocations ¶
func (fake *MigrationGenerator) Invocations() map[string][][]interface{}
func (*MigrationGenerator) WriteArgsForCall ¶
func (*MigrationGenerator) WriteCallCount ¶
func (fake *MigrationGenerator) WriteCallCount() int
func (*MigrationGenerator) WriteCalls ¶
func (*MigrationGenerator) WriteReturns ¶
func (fake *MigrationGenerator) WriteReturns(result1 error)
func (*MigrationGenerator) WriteReturnsOnCall ¶
func (fake *MigrationGenerator) WriteReturnsOnCall(i int, result1 error)
type MigrationProvider ¶
type MigrationProvider struct { DeleteStub func(*sqlmigr.Migration) error ExistsStub func(*sqlmigr.Migration) bool InsertStub func(*sqlmigr.Migration) error MigrationsStub func() ([]*sqlmigr.Migration, error) // contains filtered or unexported fields }
func (*MigrationProvider) Delete ¶
func (fake *MigrationProvider) Delete(arg1 *sqlmigr.Migration) error
func (*MigrationProvider) DeleteArgsForCall ¶
func (fake *MigrationProvider) DeleteArgsForCall(i int) *sqlmigr.Migration
func (*MigrationProvider) DeleteCallCount ¶
func (fake *MigrationProvider) DeleteCallCount() int
func (*MigrationProvider) DeleteCalls ¶
func (fake *MigrationProvider) DeleteCalls(stub func(*sqlmigr.Migration) error)
func (*MigrationProvider) DeleteReturns ¶
func (fake *MigrationProvider) DeleteReturns(result1 error)
func (*MigrationProvider) DeleteReturnsOnCall ¶
func (fake *MigrationProvider) DeleteReturnsOnCall(i int, result1 error)
func (*MigrationProvider) Exists ¶
func (fake *MigrationProvider) Exists(arg1 *sqlmigr.Migration) bool
func (*MigrationProvider) ExistsArgsForCall ¶
func (fake *MigrationProvider) ExistsArgsForCall(i int) *sqlmigr.Migration
func (*MigrationProvider) ExistsCallCount ¶
func (fake *MigrationProvider) ExistsCallCount() int
func (*MigrationProvider) ExistsCalls ¶
func (fake *MigrationProvider) ExistsCalls(stub func(*sqlmigr.Migration) bool)
func (*MigrationProvider) ExistsReturns ¶
func (fake *MigrationProvider) ExistsReturns(result1 bool)
func (*MigrationProvider) ExistsReturnsOnCall ¶
func (fake *MigrationProvider) ExistsReturnsOnCall(i int, result1 bool)
func (*MigrationProvider) Insert ¶
func (fake *MigrationProvider) Insert(arg1 *sqlmigr.Migration) error
func (*MigrationProvider) InsertArgsForCall ¶
func (fake *MigrationProvider) InsertArgsForCall(i int) *sqlmigr.Migration
func (*MigrationProvider) InsertCallCount ¶
func (fake *MigrationProvider) InsertCallCount() int
func (*MigrationProvider) InsertCalls ¶
func (fake *MigrationProvider) InsertCalls(stub func(*sqlmigr.Migration) error)
func (*MigrationProvider) InsertReturns ¶
func (fake *MigrationProvider) InsertReturns(result1 error)
func (*MigrationProvider) InsertReturnsOnCall ¶
func (fake *MigrationProvider) InsertReturnsOnCall(i int, result1 error)
func (*MigrationProvider) Invocations ¶
func (fake *MigrationProvider) Invocations() map[string][][]interface{}
func (*MigrationProvider) Migrations ¶
func (fake *MigrationProvider) Migrations() ([]*sqlmigr.Migration, error)
func (*MigrationProvider) MigrationsCallCount ¶
func (fake *MigrationProvider) MigrationsCallCount() int
func (*MigrationProvider) MigrationsCalls ¶
func (fake *MigrationProvider) MigrationsCalls(stub func() ([]*sqlmigr.Migration, error))
func (*MigrationProvider) MigrationsReturns ¶
func (fake *MigrationProvider) MigrationsReturns(result1 []*sqlmigr.Migration, result2 error)
func (*MigrationProvider) MigrationsReturnsOnCall ¶
func (fake *MigrationProvider) MigrationsReturnsOnCall(i int, result1 []*sqlmigr.Migration, result2 error)
type MigrationRunner ¶
type MigrationRunner struct { RevertStub func(*sqlmigr.Migration) error RunStub func(*sqlmigr.Migration) error // contains filtered or unexported fields }
func (*MigrationRunner) Invocations ¶
func (fake *MigrationRunner) Invocations() map[string][][]interface{}
func (*MigrationRunner) RevertArgsForCall ¶
func (fake *MigrationRunner) RevertArgsForCall(i int) *sqlmigr.Migration
func (*MigrationRunner) RevertCallCount ¶
func (fake *MigrationRunner) RevertCallCount() int
func (*MigrationRunner) RevertCalls ¶
func (fake *MigrationRunner) RevertCalls(stub func(*sqlmigr.Migration) error)
func (*MigrationRunner) RevertReturns ¶
func (fake *MigrationRunner) RevertReturns(result1 error)
func (*MigrationRunner) RevertReturnsOnCall ¶
func (fake *MigrationRunner) RevertReturnsOnCall(i int, result1 error)
func (*MigrationRunner) RunArgsForCall ¶
func (fake *MigrationRunner) RunArgsForCall(i int) *sqlmigr.Migration
func (*MigrationRunner) RunCallCount ¶
func (fake *MigrationRunner) RunCallCount() int
func (*MigrationRunner) RunCalls ¶
func (fake *MigrationRunner) RunCalls(stub func(*sqlmigr.Migration) error)
func (*MigrationRunner) RunReturns ¶
func (fake *MigrationRunner) RunReturns(result1 error)
func (*MigrationRunner) RunReturnsOnCall ¶
func (fake *MigrationRunner) RunReturnsOnCall(i int, result1 error)
type ModelGenerator ¶
type ModelGenerator struct { GenerateStub func(*sqlmodel.GeneratorContext) error // contains filtered or unexported fields }
func (*ModelGenerator) Generate ¶
func (fake *ModelGenerator) Generate(arg1 *sqlmodel.GeneratorContext) error
func (*ModelGenerator) GenerateArgsForCall ¶
func (fake *ModelGenerator) GenerateArgsForCall(i int) *sqlmodel.GeneratorContext
func (*ModelGenerator) GenerateCallCount ¶
func (fake *ModelGenerator) GenerateCallCount() int
func (*ModelGenerator) GenerateCalls ¶
func (fake *ModelGenerator) GenerateCalls(stub func(*sqlmodel.GeneratorContext) error)
func (*ModelGenerator) GenerateReturns ¶
func (fake *ModelGenerator) GenerateReturns(result1 error)
func (*ModelGenerator) GenerateReturnsOnCall ¶
func (fake *ModelGenerator) GenerateReturnsOnCall(i int, result1 error)
func (*ModelGenerator) Invocations ¶
func (fake *ModelGenerator) Invocations() map[string][][]interface{}
type ModelTagBuilder ¶
type ModelTagBuilder struct { BuildStub func(column *sqlmodel.Column) string // contains filtered or unexported fields }
func (*ModelTagBuilder) BuildArgsForCall ¶
func (fake *ModelTagBuilder) BuildArgsForCall(i int) *sqlmodel.Column
func (*ModelTagBuilder) BuildCallCount ¶
func (fake *ModelTagBuilder) BuildCallCount() int
func (*ModelTagBuilder) BuildReturns ¶
func (fake *ModelTagBuilder) BuildReturns(result1 string)
func (*ModelTagBuilder) Invocations ¶
func (fake *ModelTagBuilder) Invocations() map[string][][]interface{}
type Querier ¶
type Querier struct { CloseStub func() error QueryStub func(string, ...interface{}) (*sql.Rows, error) QueryRowStub func(string, ...interface{}) *sql.Row // contains filtered or unexported fields }
func (*Querier) CloseCallCount ¶
func (*Querier) CloseCalls ¶
func (*Querier) CloseReturns ¶
func (*Querier) CloseReturnsOnCall ¶
func (*Querier) Invocations ¶
func (*Querier) QueryArgsForCall ¶
func (*Querier) QueryCallCount ¶
func (*Querier) QueryCalls ¶
func (*Querier) QueryReturnsOnCall ¶
func (*Querier) QueryRowArgsForCall ¶
func (*Querier) QueryRowCallCount ¶
func (*Querier) QueryRowCalls ¶
func (*Querier) QueryRowReturns ¶
type SchemaProvider ¶
type SchemaProvider struct { CloseStub func() error SchemaStub func(string, ...string) (*sqlmodel.Schema, error) TablesStub func(string) ([]string, error) // contains filtered or unexported fields }
func (*SchemaProvider) Close ¶
func (fake *SchemaProvider) Close() error
func (*SchemaProvider) CloseCallCount ¶
func (fake *SchemaProvider) CloseCallCount() int
func (*SchemaProvider) CloseCalls ¶
func (fake *SchemaProvider) CloseCalls(stub func() error)
func (*SchemaProvider) CloseReturns ¶
func (fake *SchemaProvider) CloseReturns(result1 error)
func (*SchemaProvider) CloseReturnsOnCall ¶
func (fake *SchemaProvider) CloseReturnsOnCall(i int, result1 error)
func (*SchemaProvider) Invocations ¶
func (fake *SchemaProvider) Invocations() map[string][][]interface{}
func (*SchemaProvider) SchemaArgsForCall ¶
func (fake *SchemaProvider) SchemaArgsForCall(i int) (string, []string)
func (*SchemaProvider) SchemaCallCount ¶
func (fake *SchemaProvider) SchemaCallCount() int
func (*SchemaProvider) SchemaCalls ¶
func (*SchemaProvider) SchemaReturns ¶
func (fake *SchemaProvider) SchemaReturns(result1 *sqlmodel.Schema, result2 error)
func (*SchemaProvider) SchemaReturnsOnCall ¶
func (fake *SchemaProvider) SchemaReturnsOnCall(i int, result1 *sqlmodel.Schema, result2 error)
func (*SchemaProvider) TablesArgsForCall ¶
func (fake *SchemaProvider) TablesArgsForCall(i int) string
func (*SchemaProvider) TablesCallCount ¶
func (fake *SchemaProvider) TablesCallCount() int
func (*SchemaProvider) TablesCalls ¶
func (fake *SchemaProvider) TablesCalls(stub func(string) ([]string, error))
func (*SchemaProvider) TablesReturns ¶
func (fake *SchemaProvider) TablesReturns(result1 []string, result2 error)
func (*SchemaProvider) TablesReturnsOnCall ¶
func (fake *SchemaProvider) TablesReturnsOnCall(i int, result1 []string, result2 error)
type TagBuilder ¶
type TagBuilder struct { BuildStub func(*sqlmodel.Column) string // contains filtered or unexported fields }
func (*TagBuilder) BuildArgsForCall ¶
func (fake *TagBuilder) BuildArgsForCall(i int) *sqlmodel.Column
func (*TagBuilder) BuildCallCount ¶
func (fake *TagBuilder) BuildCallCount() int
func (*TagBuilder) BuildCalls ¶
func (fake *TagBuilder) BuildCalls(stub func(*sqlmodel.Column) string)
func (*TagBuilder) BuildReturns ¶
func (fake *TagBuilder) BuildReturns(result1 string)
func (*TagBuilder) BuildReturnsOnCall ¶
func (fake *TagBuilder) BuildReturnsOnCall(i int, result1 string)
func (*TagBuilder) Invocations ¶
func (fake *TagBuilder) Invocations() map[string][][]interface{}
Click to show internal directories.
Click to hide internal directories.