Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
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.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type File
- type FileSystem
- 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() log.Map
- func (fake *Logger) FieldsCallCount() int
- func (fake *Logger) FieldsCalls(stub func() log.Map)
- func (fake *Logger) FieldsReturns(result1 log.Map)
- func (fake *Logger) FieldsReturnsOnCall(i int, result1 log.Map)
- 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 log.Map) log.Logger
- func (fake *Logger) WithFieldsArgsForCall(i int) log.Map
- func (fake *Logger) WithFieldsCallCount() int
- func (fake *Logger) WithFieldsCalls(stub func(log.Map) log.Logger)
- func (fake *Logger) WithFieldsReturns(result1 log.Logger)
- func (fake *Logger) WithFieldsReturnsOnCall(i int, result1 log.Logger)
- type MigrationGenerator
- func (fake *MigrationGenerator) Create(m *sqlmigr.Migration) error
- func (fake *MigrationGenerator) CreateArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationGenerator) CreateCallCount() int
- 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(m *sqlmigr.Migration, content *sqlmigr.Content) error
- func (fake *MigrationGenerator) WriteArgsForCall(i int) (*sqlmigr.Migration, *sqlmigr.Content)
- func (fake *MigrationGenerator) WriteCallCount() int
- func (fake *MigrationGenerator) WriteReturns(result1 error)
- func (fake *MigrationGenerator) WriteReturnsOnCall(i int, result1 error)
- type MigrationProvider
- func (fake *MigrationProvider) Delete(item *sqlmigr.Migration) error
- func (fake *MigrationProvider) DeleteArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationProvider) DeleteCallCount() int
- func (fake *MigrationProvider) DeleteReturns(result1 error)
- func (fake *MigrationProvider) DeleteReturnsOnCall(i int, result1 error)
- func (fake *MigrationProvider) Exists(item *sqlmigr.Migration) bool
- func (fake *MigrationProvider) ExistsArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationProvider) ExistsCallCount() int
- func (fake *MigrationProvider) ExistsReturns(result1 bool)
- func (fake *MigrationProvider) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *MigrationProvider) Insert(item *sqlmigr.Migration) error
- func (fake *MigrationProvider) InsertArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationProvider) InsertCallCount() int
- 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) 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(item *sqlmigr.Migration) error
- func (fake *MigrationRunner) RevertArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationRunner) RevertCallCount() int
- func (fake *MigrationRunner) RevertReturns(result1 error)
- func (fake *MigrationRunner) RevertReturnsOnCall(i int, result1 error)
- func (fake *MigrationRunner) Run(item *sqlmigr.Migration) error
- func (fake *MigrationRunner) RunArgsForCall(i int) *sqlmigr.Migration
- func (fake *MigrationRunner) RunCallCount() int
- func (fake *MigrationRunner) RunReturns(result1 error)
- func (fake *MigrationRunner) RunReturnsOnCall(i int, result1 error)
- type ModelGenerator
- func (fake *ModelGenerator) Generate(ctx *sqlmodel.GeneratorContext) error
- func (fake *ModelGenerator) GenerateArgsForCall(i int) *sqlmodel.GeneratorContext
- func (fake *ModelGenerator) GenerateCallCount() int
- 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) CloseReturns(result1 error)
- func (fake *Querier) CloseReturnsOnCall(i int, result1 error)
- func (fake *Querier) Invocations() map[string][][]interface{}
- func (fake *Querier) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (fake *Querier) QueryArgsForCall(i int) (string, []interface{})
- func (fake *Querier) QueryCallCount() int
- func (fake *Querier) QueryReturns(result1 *sql.Rows, result2 error)
- func (fake *Querier) QueryReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *Querier) QueryRow(query string, args ...interface{}) *sql.Row
- func (fake *Querier) QueryRowArgsForCall(i int) (string, []interface{})
- func (fake *Querier) QueryRowCallCount() int
- 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) CloseReturns(result1 error)
- func (fake *SchemaProvider) CloseReturnsOnCall(i int, result1 error)
- func (fake *SchemaProvider) Invocations() map[string][][]interface{}
- func (fake *SchemaProvider) Schema(schema string, tables ...string) (*sqlmodel.Schema, error)
- func (fake *SchemaProvider) SchemaArgsForCall(i int) (string, []string)
- func (fake *SchemaProvider) SchemaCallCount() int
- func (fake *SchemaProvider) SchemaReturns(result1 *sqlmodel.Schema, result2 error)
- func (fake *SchemaProvider) SchemaReturnsOnCall(i int, result1 *sqlmodel.Schema, result2 error)
- func (fake *SchemaProvider) Tables(schema string) ([]string, error)
- func (fake *SchemaProvider) TablesArgsForCall(i int) string
- func (fake *SchemaProvider) TablesCallCount() int
- func (fake *SchemaProvider) TablesReturns(result1 []string, result2 error)
- func (fake *SchemaProvider) TablesReturnsOnCall(i int, result1 []string, result2 error)
- type TagBuilder
- func (fake *TagBuilder) Build(column *sqlmodel.Column) string
- func (fake *TagBuilder) BuildArgsForCall(i int) *sqlmodel.Column
- func (fake *TagBuilder) BuildCallCount() int
- 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 FileSystem ¶
type FileSystem = fake.FileSystem
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() log.Map 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(log.Map) 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) WithFieldsCallCount ¶
func (*Logger) WithFieldsReturns ¶
type MigrationGenerator ¶
type MigrationGenerator struct { CreateStub func(m *sqlmigr.Migration) error WriteStub func(m *sqlmigr.Migration, content *sqlmigr.Content) error // contains filtered or unexported fields }
func (*MigrationGenerator) Create ¶
func (fake *MigrationGenerator) Create(m *sqlmigr.Migration) error
func (*MigrationGenerator) CreateArgsForCall ¶
func (fake *MigrationGenerator) CreateArgsForCall(i int) *sqlmigr.Migration
func (*MigrationGenerator) CreateCallCount ¶
func (fake *MigrationGenerator) CreateCallCount() int
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) WriteReturns ¶
func (fake *MigrationGenerator) WriteReturns(result1 error)
func (*MigrationGenerator) WriteReturnsOnCall ¶
func (fake *MigrationGenerator) WriteReturnsOnCall(i int, result1 error)
type MigrationProvider ¶
type MigrationProvider struct { MigrationsStub func() ([]*sqlmigr.Migration, error) InsertStub func(item *sqlmigr.Migration) error DeleteStub func(item *sqlmigr.Migration) error ExistsStub func(item *sqlmigr.Migration) bool // contains filtered or unexported fields }
func (*MigrationProvider) Delete ¶
func (fake *MigrationProvider) Delete(item *sqlmigr.Migration) error
func (*MigrationProvider) DeleteArgsForCall ¶
func (fake *MigrationProvider) DeleteArgsForCall(i int) *sqlmigr.Migration
func (*MigrationProvider) DeleteCallCount ¶
func (fake *MigrationProvider) DeleteCallCount() int
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(item *sqlmigr.Migration) bool
func (*MigrationProvider) ExistsArgsForCall ¶
func (fake *MigrationProvider) ExistsArgsForCall(i int) *sqlmigr.Migration
func (*MigrationProvider) ExistsCallCount ¶
func (fake *MigrationProvider) ExistsCallCount() int
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(item *sqlmigr.Migration) error
func (*MigrationProvider) InsertArgsForCall ¶
func (fake *MigrationProvider) InsertArgsForCall(i int) *sqlmigr.Migration
func (*MigrationProvider) InsertCallCount ¶
func (fake *MigrationProvider) InsertCallCount() int
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) 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 { RunStub func(item *sqlmigr.Migration) error RevertStub func(item *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) 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) 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(ctx *sqlmodel.GeneratorContext) error // contains filtered or unexported fields }
func (*ModelGenerator) Generate ¶
func (fake *ModelGenerator) Generate(ctx *sqlmodel.GeneratorContext) error
func (*ModelGenerator) GenerateArgsForCall ¶
func (fake *ModelGenerator) GenerateArgsForCall(i int) *sqlmodel.GeneratorContext
func (*ModelGenerator) GenerateCallCount ¶
func (fake *ModelGenerator) GenerateCallCount() int
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 { QueryStub func(query string, args ...interface{}) (*sql.Rows, error) QueryRowStub func(query string, args ...interface{}) *sql.Row CloseStub func() error // contains filtered or unexported fields }
func (*Querier) CloseCallCount ¶
func (*Querier) CloseReturns ¶
func (*Querier) CloseReturnsOnCall ¶
func (*Querier) Invocations ¶
func (*Querier) QueryArgsForCall ¶
func (*Querier) QueryCallCount ¶
func (*Querier) QueryReturnsOnCall ¶
func (*Querier) QueryRowArgsForCall ¶
func (*Querier) QueryRowCallCount ¶
func (*Querier) QueryRowReturns ¶
type SchemaProvider ¶
type SchemaProvider struct { TablesStub func(schema string) ([]string, error) SchemaStub func(schema string, tables ...string) (*sqlmodel.Schema, error) CloseStub func() error // contains filtered or unexported fields }
func (*SchemaProvider) Close ¶
func (fake *SchemaProvider) Close() error
func (*SchemaProvider) CloseCallCount ¶
func (fake *SchemaProvider) CloseCallCount() int
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) 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) 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(column *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) 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.