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.
Index ¶
- type FabricCADB
- func (fake *FabricCADB) BeginTx() db.FabricCATx
- func (fake *FabricCADB) BeginTxCallCount() int
- func (fake *FabricCADB) BeginTxCalls(stub func() db.FabricCATx)
- func (fake *FabricCADB) BeginTxReturns(result1 db.FabricCATx)
- func (fake *FabricCADB) BeginTxReturnsOnCall(i int, result1 db.FabricCATx)
- func (fake *FabricCADB) Close() error
- func (fake *FabricCADB) CloseCallCount() int
- func (fake *FabricCADB) CloseCalls(stub func() error)
- func (fake *FabricCADB) CloseReturns(result1 error)
- func (fake *FabricCADB) CloseReturnsOnCall(i int, result1 error)
- func (fake *FabricCADB) DriverName() string
- func (fake *FabricCADB) DriverNameCallCount() int
- func (fake *FabricCADB) DriverNameCalls(stub func() string)
- func (fake *FabricCADB) DriverNameReturns(result1 string)
- func (fake *FabricCADB) DriverNameReturnsOnCall(i int, result1 string)
- func (fake *FabricCADB) Exec(arg1 string, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *FabricCADB) ExecArgsForCall(i int) (string, string, []interface{})
- func (fake *FabricCADB) ExecCallCount() int
- func (fake *FabricCADB) ExecCalls(stub func(string, string, ...interface{}) (sql.Result, error))
- func (fake *FabricCADB) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FabricCADB) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FabricCADB) Get(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
- func (fake *FabricCADB) GetArgsForCall(i int) (string, interface{}, string, []interface{})
- func (fake *FabricCADB) GetCallCount() int
- func (fake *FabricCADB) GetCalls(stub func(string, interface{}, string, ...interface{}) error)
- func (fake *FabricCADB) GetReturns(result1 error)
- func (fake *FabricCADB) GetReturnsOnCall(i int, result1 error)
- func (fake *FabricCADB) Invocations() map[string][][]interface{}
- func (fake *FabricCADB) IsInitialized() bool
- func (fake *FabricCADB) IsInitializedCallCount() int
- func (fake *FabricCADB) IsInitializedCalls(stub func() bool)
- func (fake *FabricCADB) IsInitializedReturns(result1 bool)
- func (fake *FabricCADB) IsInitializedReturnsOnCall(i int, result1 bool)
- func (fake *FabricCADB) MustBegin() *sqlx.Tx
- func (fake *FabricCADB) MustBeginCallCount() int
- func (fake *FabricCADB) MustBeginCalls(stub func() *sqlx.Tx)
- func (fake *FabricCADB) MustBeginReturns(result1 *sqlx.Tx)
- func (fake *FabricCADB) MustBeginReturnsOnCall(i int, result1 *sqlx.Tx)
- func (fake *FabricCADB) NamedExec(arg1 string, arg2 string, arg3 interface{}) (sql.Result, error)
- func (fake *FabricCADB) NamedExecArgsForCall(i int) (string, string, interface{})
- func (fake *FabricCADB) NamedExecCallCount() int
- func (fake *FabricCADB) NamedExecCalls(stub func(string, string, interface{}) (sql.Result, error))
- func (fake *FabricCADB) NamedExecReturns(result1 sql.Result, result2 error)
- func (fake *FabricCADB) NamedExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FabricCADB) PingContext(arg1 context.Context) error
- func (fake *FabricCADB) PingContextArgsForCall(i int) context.Context
- func (fake *FabricCADB) PingContextCallCount() int
- func (fake *FabricCADB) PingContextCalls(stub func(context.Context) error)
- func (fake *FabricCADB) PingContextReturns(result1 error)
- func (fake *FabricCADB) PingContextReturnsOnCall(i int, result1 error)
- func (fake *FabricCADB) Queryx(arg1 string, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error)
- func (fake *FabricCADB) QueryxArgsForCall(i int) (string, string, []interface{})
- func (fake *FabricCADB) QueryxCallCount() int
- func (fake *FabricCADB) QueryxCalls(stub func(string, string, ...interface{}) (*sqlx.Rows, error))
- func (fake *FabricCADB) QueryxReturns(result1 *sqlx.Rows, result2 error)
- func (fake *FabricCADB) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *FabricCADB) Rebind(arg1 string) string
- func (fake *FabricCADB) RebindArgsForCall(i int) string
- func (fake *FabricCADB) RebindCallCount() int
- func (fake *FabricCADB) RebindCalls(stub func(string) string)
- func (fake *FabricCADB) RebindReturns(result1 string)
- func (fake *FabricCADB) RebindReturnsOnCall(i int, result1 string)
- func (fake *FabricCADB) Select(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
- func (fake *FabricCADB) SelectArgsForCall(i int) (string, interface{}, string, []interface{})
- func (fake *FabricCADB) SelectCallCount() int
- func (fake *FabricCADB) SelectCalls(stub func(string, interface{}, string, ...interface{}) error)
- func (fake *FabricCADB) SelectReturns(result1 error)
- func (fake *FabricCADB) SelectReturnsOnCall(i int, result1 error)
- func (fake *FabricCADB) SetDBInitialized(arg1 bool)
- func (fake *FabricCADB) SetDBInitializedArgsForCall(i int) bool
- func (fake *FabricCADB) SetDBInitializedCallCount() int
- func (fake *FabricCADB) SetDBInitializedCalls(stub func(bool))
- func (fake *FabricCADB) SetMaxOpenConns(arg1 int)
- func (fake *FabricCADB) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *FabricCADB) SetMaxOpenConnsCallCount() int
- func (fake *FabricCADB) SetMaxOpenConnsCalls(stub func(int))
- type FabricCATx
- func (fake *FabricCATx) Commit(arg1 string) error
- func (fake *FabricCATx) CommitArgsForCall(i int) string
- func (fake *FabricCATx) CommitCallCount() int
- func (fake *FabricCATx) CommitCalls(stub func(string) error)
- func (fake *FabricCATx) CommitReturns(result1 error)
- func (fake *FabricCATx) CommitReturnsOnCall(i int, result1 error)
- func (fake *FabricCATx) Exec(arg1 string, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *FabricCATx) ExecArgsForCall(i int) (string, string, []interface{})
- func (fake *FabricCATx) ExecCallCount() int
- func (fake *FabricCATx) ExecCalls(stub func(string, string, ...interface{}) (sql.Result, error))
- func (fake *FabricCATx) ExecReturns(result1 sql.Result, result2 error)
- func (fake *FabricCATx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FabricCATx) Get(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
- func (fake *FabricCATx) GetArgsForCall(i int) (string, interface{}, string, []interface{})
- func (fake *FabricCATx) GetCallCount() int
- func (fake *FabricCATx) GetCalls(stub func(string, interface{}, string, ...interface{}) error)
- func (fake *FabricCATx) GetReturns(result1 error)
- func (fake *FabricCATx) GetReturnsOnCall(i int, result1 error)
- func (fake *FabricCATx) Invocations() map[string][][]interface{}
- func (fake *FabricCATx) Queryx(arg1 string, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error)
- func (fake *FabricCATx) QueryxArgsForCall(i int) (string, string, []interface{})
- func (fake *FabricCATx) QueryxCallCount() int
- func (fake *FabricCATx) QueryxCalls(stub func(string, string, ...interface{}) (*sqlx.Rows, error))
- func (fake *FabricCATx) QueryxReturns(result1 *sqlx.Rows, result2 error)
- func (fake *FabricCATx) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *FabricCATx) Rebind(arg1 string) string
- func (fake *FabricCATx) RebindArgsForCall(i int) string
- func (fake *FabricCATx) RebindCallCount() int
- func (fake *FabricCATx) RebindCalls(stub func(string) string)
- func (fake *FabricCATx) RebindReturns(result1 string)
- func (fake *FabricCATx) RebindReturnsOnCall(i int, result1 string)
- func (fake *FabricCATx) Rollback(arg1 string) error
- func (fake *FabricCATx) RollbackArgsForCall(i int) string
- func (fake *FabricCATx) RollbackCallCount() int
- func (fake *FabricCATx) RollbackCalls(stub func(string) error)
- func (fake *FabricCATx) RollbackReturns(result1 error)
- func (fake *FabricCATx) RollbackReturnsOnCall(i int, result1 error)
- func (fake *FabricCATx) Select(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
- func (fake *FabricCATx) SelectArgsForCall(i int) (string, interface{}, string, []interface{})
- func (fake *FabricCATx) SelectCallCount() int
- func (fake *FabricCATx) SelectCalls(stub func(string, interface{}, string, ...interface{}) error)
- func (fake *FabricCATx) SelectReturns(result1 error)
- func (fake *FabricCATx) SelectReturnsOnCall(i int, result1 error)
- type Migrator
- func (fake *Migrator) Commit() error
- func (fake *Migrator) CommitCallCount() int
- func (fake *Migrator) CommitCalls(stub func() error)
- func (fake *Migrator) CommitReturns(result1 error)
- func (fake *Migrator) CommitReturnsOnCall(i int, result1 error)
- func (fake *Migrator) Invocations() map[string][][]interface{}
- func (fake *Migrator) MigrateAffiliationsTable() error
- func (fake *Migrator) MigrateAffiliationsTableCallCount() int
- func (fake *Migrator) MigrateAffiliationsTableCalls(stub func() error)
- func (fake *Migrator) MigrateAffiliationsTableReturns(result1 error)
- func (fake *Migrator) MigrateAffiliationsTableReturnsOnCall(i int, result1 error)
- func (fake *Migrator) MigrateCertificatesTable() error
- func (fake *Migrator) MigrateCertificatesTableCallCount() int
- func (fake *Migrator) MigrateCertificatesTableCalls(stub func() error)
- func (fake *Migrator) MigrateCertificatesTableReturns(result1 error)
- func (fake *Migrator) MigrateCertificatesTableReturnsOnCall(i int, result1 error)
- func (fake *Migrator) MigrateCredentialsTable() error
- func (fake *Migrator) MigrateCredentialsTableCallCount() int
- func (fake *Migrator) MigrateCredentialsTableCalls(stub func() error)
- func (fake *Migrator) MigrateCredentialsTableReturns(result1 error)
- func (fake *Migrator) MigrateCredentialsTableReturnsOnCall(i int, result1 error)
- func (fake *Migrator) MigrateNoncesTable() error
- func (fake *Migrator) MigrateNoncesTableCallCount() int
- func (fake *Migrator) MigrateNoncesTableCalls(stub func() error)
- func (fake *Migrator) MigrateNoncesTableReturns(result1 error)
- func (fake *Migrator) MigrateNoncesTableReturnsOnCall(i int, result1 error)
- func (fake *Migrator) MigrateRAInfoTable() error
- func (fake *Migrator) MigrateRAInfoTableCallCount() int
- func (fake *Migrator) MigrateRAInfoTableCalls(stub func() error)
- func (fake *Migrator) MigrateRAInfoTableReturns(result1 error)
- func (fake *Migrator) MigrateRAInfoTableReturnsOnCall(i int, result1 error)
- func (fake *Migrator) MigrateUsersTable() error
- func (fake *Migrator) MigrateUsersTableCallCount() int
- func (fake *Migrator) MigrateUsersTableCalls(stub func() error)
- func (fake *Migrator) MigrateUsersTableReturns(result1 error)
- func (fake *Migrator) MigrateUsersTableReturnsOnCall(i int, result1 error)
- func (fake *Migrator) Rollback() error
- func (fake *Migrator) RollbackCallCount() int
- func (fake *Migrator) RollbackCalls(stub func() error)
- func (fake *Migrator) RollbackReturns(result1 error)
- func (fake *Migrator) RollbackReturnsOnCall(i int, result1 error)
- type Result
- type SqlxDB
- func (fake *SqlxDB) Close() error
- func (fake *SqlxDB) CloseCallCount() int
- func (fake *SqlxDB) CloseCalls(stub func() error)
- func (fake *SqlxDB) CloseReturns(result1 error)
- func (fake *SqlxDB) CloseReturnsOnCall(i int, result1 error)
- func (fake *SqlxDB) DriverName() string
- func (fake *SqlxDB) DriverNameCallCount() int
- func (fake *SqlxDB) DriverNameCalls(stub func() string)
- func (fake *SqlxDB) DriverNameReturns(result1 string)
- func (fake *SqlxDB) DriverNameReturnsOnCall(i int, result1 string)
- func (fake *SqlxDB) Exec(arg1 string, arg2 ...interface{}) (sql.Result, error)
- func (fake *SqlxDB) ExecArgsForCall(i int) (string, []interface{})
- func (fake *SqlxDB) ExecCallCount() int
- func (fake *SqlxDB) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))
- func (fake *SqlxDB) ExecReturns(result1 sql.Result, result2 error)
- func (fake *SqlxDB) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *SqlxDB) Get(arg1 interface{}, arg2 string, arg3 ...interface{}) error
- func (fake *SqlxDB) GetArgsForCall(i int) (interface{}, string, []interface{})
- func (fake *SqlxDB) GetCallCount() int
- func (fake *SqlxDB) GetCalls(stub func(interface{}, string, ...interface{}) error)
- func (fake *SqlxDB) GetReturns(result1 error)
- func (fake *SqlxDB) GetReturnsOnCall(i int, result1 error)
- func (fake *SqlxDB) Invocations() map[string][][]interface{}
- func (fake *SqlxDB) MustBegin() *sqlx.Tx
- func (fake *SqlxDB) MustBeginCallCount() int
- func (fake *SqlxDB) MustBeginCalls(stub func() *sqlx.Tx)
- func (fake *SqlxDB) MustBeginReturns(result1 *sqlx.Tx)
- func (fake *SqlxDB) MustBeginReturnsOnCall(i int, result1 *sqlx.Tx)
- func (fake *SqlxDB) NamedExec(arg1 string, arg2 interface{}) (sql.Result, error)
- func (fake *SqlxDB) NamedExecArgsForCall(i int) (string, interface{})
- func (fake *SqlxDB) NamedExecCallCount() int
- func (fake *SqlxDB) NamedExecCalls(stub func(string, interface{}) (sql.Result, error))
- func (fake *SqlxDB) NamedExecReturns(result1 sql.Result, result2 error)
- func (fake *SqlxDB) NamedExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *SqlxDB) PingContext(arg1 context.Context) error
- func (fake *SqlxDB) PingContextArgsForCall(i int) context.Context
- func (fake *SqlxDB) PingContextCallCount() int
- func (fake *SqlxDB) PingContextCalls(stub func(context.Context) error)
- func (fake *SqlxDB) PingContextReturns(result1 error)
- func (fake *SqlxDB) PingContextReturnsOnCall(i int, result1 error)
- func (fake *SqlxDB) Queryx(arg1 string, arg2 ...interface{}) (*sqlx.Rows, error)
- func (fake *SqlxDB) QueryxArgsForCall(i int) (string, []interface{})
- func (fake *SqlxDB) QueryxCallCount() int
- func (fake *SqlxDB) QueryxCalls(stub func(string, ...interface{}) (*sqlx.Rows, error))
- func (fake *SqlxDB) QueryxReturns(result1 *sqlx.Rows, result2 error)
- func (fake *SqlxDB) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *SqlxDB) Rebind(arg1 string) string
- func (fake *SqlxDB) RebindArgsForCall(i int) string
- func (fake *SqlxDB) RebindCallCount() int
- func (fake *SqlxDB) RebindCalls(stub func(string) string)
- func (fake *SqlxDB) RebindReturns(result1 string)
- func (fake *SqlxDB) RebindReturnsOnCall(i int, result1 string)
- func (fake *SqlxDB) Select(arg1 interface{}, arg2 string, arg3 ...interface{}) error
- func (fake *SqlxDB) SelectArgsForCall(i int) (interface{}, string, []interface{})
- func (fake *SqlxDB) SelectCallCount() int
- func (fake *SqlxDB) SelectCalls(stub func(interface{}, string, ...interface{}) error)
- func (fake *SqlxDB) SelectReturns(result1 error)
- func (fake *SqlxDB) SelectReturnsOnCall(i int, result1 error)
- func (fake *SqlxDB) SetMaxOpenConns(arg1 int)
- func (fake *SqlxDB) SetMaxOpenConnsArgsForCall(i int) int
- func (fake *SqlxDB) SetMaxOpenConnsCallCount() int
- func (fake *SqlxDB) SetMaxOpenConnsCalls(stub func(int))
- type SqlxTx
- func (fake *SqlxTx) Commit() error
- func (fake *SqlxTx) CommitCallCount() int
- func (fake *SqlxTx) CommitCalls(stub func() error)
- func (fake *SqlxTx) CommitReturns(result1 error)
- func (fake *SqlxTx) CommitReturnsOnCall(i int, result1 error)
- func (fake *SqlxTx) Exec(arg1 string, arg2 ...interface{}) (sql.Result, error)
- func (fake *SqlxTx) ExecArgsForCall(i int) (string, []interface{})
- func (fake *SqlxTx) ExecCallCount() int
- func (fake *SqlxTx) ExecCalls(stub func(string, ...interface{}) (sql.Result, error))
- func (fake *SqlxTx) ExecReturns(result1 sql.Result, result2 error)
- func (fake *SqlxTx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *SqlxTx) Get(arg1 interface{}, arg2 string, arg3 ...interface{}) error
- func (fake *SqlxTx) GetArgsForCall(i int) (interface{}, string, []interface{})
- func (fake *SqlxTx) GetCallCount() int
- func (fake *SqlxTx) GetCalls(stub func(interface{}, string, ...interface{}) error)
- func (fake *SqlxTx) GetReturns(result1 error)
- func (fake *SqlxTx) GetReturnsOnCall(i int, result1 error)
- func (fake *SqlxTx) Invocations() map[string][][]interface{}
- func (fake *SqlxTx) Queryx(arg1 string, arg2 ...interface{}) (*sqlx.Rows, error)
- func (fake *SqlxTx) QueryxArgsForCall(i int) (string, []interface{})
- func (fake *SqlxTx) QueryxCallCount() int
- func (fake *SqlxTx) QueryxCalls(stub func(string, ...interface{}) (*sqlx.Rows, error))
- func (fake *SqlxTx) QueryxReturns(result1 *sqlx.Rows, result2 error)
- func (fake *SqlxTx) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *SqlxTx) Rebind(arg1 string) string
- func (fake *SqlxTx) RebindArgsForCall(i int) string
- func (fake *SqlxTx) RebindCallCount() int
- func (fake *SqlxTx) RebindCalls(stub func(string) string)
- func (fake *SqlxTx) RebindReturns(result1 string)
- func (fake *SqlxTx) RebindReturnsOnCall(i int, result1 string)
- func (fake *SqlxTx) Rollback() error
- func (fake *SqlxTx) RollbackCallCount() int
- func (fake *SqlxTx) RollbackCalls(stub func() error)
- func (fake *SqlxTx) RollbackReturns(result1 error)
- func (fake *SqlxTx) RollbackReturnsOnCall(i int, result1 error)
- func (fake *SqlxTx) Select(arg1 interface{}, arg2 string, arg3 ...interface{}) error
- func (fake *SqlxTx) SelectArgsForCall(i int) (interface{}, string, []interface{})
- func (fake *SqlxTx) SelectCallCount() int
- func (fake *SqlxTx) SelectCalls(stub func(interface{}, string, ...interface{}) error)
- func (fake *SqlxTx) SelectReturns(result1 error)
- func (fake *SqlxTx) SelectReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FabricCADB ¶
type FabricCADB struct { BeginTxStub func() db.FabricCATx CloseStub func() error DriverNameStub func() string ExecStub func(string, string, ...interface{}) (sql.Result, error) GetStub func(string, interface{}, string, ...interface{}) error IsInitializedStub func() bool MustBeginStub func() *sqlx.Tx NamedExecStub func(string, string, interface{}) (sql.Result, error) PingContextStub func(context.Context) error QueryxStub func(string, string, ...interface{}) (*sqlx.Rows, error) RebindStub func(string) string SelectStub func(string, interface{}, string, ...interface{}) error SetDBInitializedStub func(bool) SetMaxOpenConnsStub func(int) // contains filtered or unexported fields }
func (*FabricCADB) BeginTx ¶
func (fake *FabricCADB) BeginTx() db.FabricCATx
func (*FabricCADB) BeginTxCallCount ¶
func (fake *FabricCADB) BeginTxCallCount() int
func (*FabricCADB) BeginTxCalls ¶
func (fake *FabricCADB) BeginTxCalls(stub func() db.FabricCATx)
func (*FabricCADB) BeginTxReturns ¶
func (fake *FabricCADB) BeginTxReturns(result1 db.FabricCATx)
func (*FabricCADB) BeginTxReturnsOnCall ¶
func (fake *FabricCADB) BeginTxReturnsOnCall(i int, result1 db.FabricCATx)
func (*FabricCADB) Close ¶
func (fake *FabricCADB) Close() error
func (*FabricCADB) CloseCallCount ¶
func (fake *FabricCADB) CloseCallCount() int
func (*FabricCADB) CloseCalls ¶
func (fake *FabricCADB) CloseCalls(stub func() error)
func (*FabricCADB) CloseReturns ¶
func (fake *FabricCADB) CloseReturns(result1 error)
func (*FabricCADB) CloseReturnsOnCall ¶
func (fake *FabricCADB) CloseReturnsOnCall(i int, result1 error)
func (*FabricCADB) DriverName ¶
func (fake *FabricCADB) DriverName() string
func (*FabricCADB) DriverNameCallCount ¶
func (fake *FabricCADB) DriverNameCallCount() int
func (*FabricCADB) DriverNameCalls ¶
func (fake *FabricCADB) DriverNameCalls(stub func() string)
func (*FabricCADB) DriverNameReturns ¶
func (fake *FabricCADB) DriverNameReturns(result1 string)
func (*FabricCADB) DriverNameReturnsOnCall ¶
func (fake *FabricCADB) DriverNameReturnsOnCall(i int, result1 string)
func (*FabricCADB) ExecArgsForCall ¶
func (fake *FabricCADB) ExecArgsForCall(i int) (string, string, []interface{})
func (*FabricCADB) ExecCallCount ¶
func (fake *FabricCADB) ExecCallCount() int
func (*FabricCADB) ExecReturns ¶
func (fake *FabricCADB) ExecReturns(result1 sql.Result, result2 error)
func (*FabricCADB) ExecReturnsOnCall ¶
func (fake *FabricCADB) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
func (*FabricCADB) Get ¶
func (fake *FabricCADB) Get(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
func (*FabricCADB) GetArgsForCall ¶
func (fake *FabricCADB) GetArgsForCall(i int) (string, interface{}, string, []interface{})
func (*FabricCADB) GetCallCount ¶
func (fake *FabricCADB) GetCallCount() int
func (*FabricCADB) GetCalls ¶
func (fake *FabricCADB) GetCalls(stub func(string, interface{}, string, ...interface{}) error)
func (*FabricCADB) GetReturns ¶
func (fake *FabricCADB) GetReturns(result1 error)
func (*FabricCADB) GetReturnsOnCall ¶
func (fake *FabricCADB) GetReturnsOnCall(i int, result1 error)
func (*FabricCADB) Invocations ¶
func (fake *FabricCADB) Invocations() map[string][][]interface{}
func (*FabricCADB) IsInitialized ¶
func (fake *FabricCADB) IsInitialized() bool
func (*FabricCADB) IsInitializedCallCount ¶
func (fake *FabricCADB) IsInitializedCallCount() int
func (*FabricCADB) IsInitializedCalls ¶
func (fake *FabricCADB) IsInitializedCalls(stub func() bool)
func (*FabricCADB) IsInitializedReturns ¶
func (fake *FabricCADB) IsInitializedReturns(result1 bool)
func (*FabricCADB) IsInitializedReturnsOnCall ¶
func (fake *FabricCADB) IsInitializedReturnsOnCall(i int, result1 bool)
func (*FabricCADB) MustBegin ¶
func (fake *FabricCADB) MustBegin() *sqlx.Tx
func (*FabricCADB) MustBeginCallCount ¶
func (fake *FabricCADB) MustBeginCallCount() int
func (*FabricCADB) MustBeginCalls ¶
func (fake *FabricCADB) MustBeginCalls(stub func() *sqlx.Tx)
func (*FabricCADB) MustBeginReturns ¶
func (fake *FabricCADB) MustBeginReturns(result1 *sqlx.Tx)
func (*FabricCADB) MustBeginReturnsOnCall ¶
func (fake *FabricCADB) MustBeginReturnsOnCall(i int, result1 *sqlx.Tx)
func (*FabricCADB) NamedExecArgsForCall ¶
func (fake *FabricCADB) NamedExecArgsForCall(i int) (string, string, interface{})
func (*FabricCADB) NamedExecCallCount ¶
func (fake *FabricCADB) NamedExecCallCount() int
func (*FabricCADB) NamedExecCalls ¶
func (*FabricCADB) NamedExecReturns ¶
func (fake *FabricCADB) NamedExecReturns(result1 sql.Result, result2 error)
func (*FabricCADB) NamedExecReturnsOnCall ¶
func (fake *FabricCADB) NamedExecReturnsOnCall(i int, result1 sql.Result, result2 error)
func (*FabricCADB) PingContext ¶
func (fake *FabricCADB) PingContext(arg1 context.Context) error
func (*FabricCADB) PingContextArgsForCall ¶
func (fake *FabricCADB) PingContextArgsForCall(i int) context.Context
func (*FabricCADB) PingContextCallCount ¶
func (fake *FabricCADB) PingContextCallCount() int
func (*FabricCADB) PingContextCalls ¶
func (fake *FabricCADB) PingContextCalls(stub func(context.Context) error)
func (*FabricCADB) PingContextReturns ¶
func (fake *FabricCADB) PingContextReturns(result1 error)
func (*FabricCADB) PingContextReturnsOnCall ¶
func (fake *FabricCADB) PingContextReturnsOnCall(i int, result1 error)
func (*FabricCADB) QueryxArgsForCall ¶
func (fake *FabricCADB) QueryxArgsForCall(i int) (string, string, []interface{})
func (*FabricCADB) QueryxCallCount ¶
func (fake *FabricCADB) QueryxCallCount() int
func (*FabricCADB) QueryxCalls ¶
func (*FabricCADB) QueryxReturns ¶
func (fake *FabricCADB) QueryxReturns(result1 *sqlx.Rows, result2 error)
func (*FabricCADB) QueryxReturnsOnCall ¶
func (fake *FabricCADB) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
func (*FabricCADB) Rebind ¶
func (fake *FabricCADB) Rebind(arg1 string) string
func (*FabricCADB) RebindArgsForCall ¶
func (fake *FabricCADB) RebindArgsForCall(i int) string
func (*FabricCADB) RebindCallCount ¶
func (fake *FabricCADB) RebindCallCount() int
func (*FabricCADB) RebindCalls ¶
func (fake *FabricCADB) RebindCalls(stub func(string) string)
func (*FabricCADB) RebindReturns ¶
func (fake *FabricCADB) RebindReturns(result1 string)
func (*FabricCADB) RebindReturnsOnCall ¶
func (fake *FabricCADB) RebindReturnsOnCall(i int, result1 string)
func (*FabricCADB) Select ¶
func (fake *FabricCADB) Select(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
func (*FabricCADB) SelectArgsForCall ¶
func (fake *FabricCADB) SelectArgsForCall(i int) (string, interface{}, string, []interface{})
func (*FabricCADB) SelectCallCount ¶
func (fake *FabricCADB) SelectCallCount() int
func (*FabricCADB) SelectCalls ¶
func (fake *FabricCADB) SelectCalls(stub func(string, interface{}, string, ...interface{}) error)
func (*FabricCADB) SelectReturns ¶
func (fake *FabricCADB) SelectReturns(result1 error)
func (*FabricCADB) SelectReturnsOnCall ¶
func (fake *FabricCADB) SelectReturnsOnCall(i int, result1 error)
func (*FabricCADB) SetDBInitialized ¶
func (fake *FabricCADB) SetDBInitialized(arg1 bool)
func (*FabricCADB) SetDBInitializedArgsForCall ¶
func (fake *FabricCADB) SetDBInitializedArgsForCall(i int) bool
func (*FabricCADB) SetDBInitializedCallCount ¶
func (fake *FabricCADB) SetDBInitializedCallCount() int
func (*FabricCADB) SetDBInitializedCalls ¶
func (fake *FabricCADB) SetDBInitializedCalls(stub func(bool))
func (*FabricCADB) SetMaxOpenConns ¶
func (fake *FabricCADB) SetMaxOpenConns(arg1 int)
func (*FabricCADB) SetMaxOpenConnsArgsForCall ¶
func (fake *FabricCADB) SetMaxOpenConnsArgsForCall(i int) int
func (*FabricCADB) SetMaxOpenConnsCallCount ¶
func (fake *FabricCADB) SetMaxOpenConnsCallCount() int
func (*FabricCADB) SetMaxOpenConnsCalls ¶
func (fake *FabricCADB) SetMaxOpenConnsCalls(stub func(int))
type FabricCATx ¶
type FabricCATx struct { CommitStub func(string) error ExecStub func(string, string, ...interface{}) (sql.Result, error) GetStub func(string, interface{}, string, ...interface{}) error QueryxStub func(string, string, ...interface{}) (*sqlx.Rows, error) RebindStub func(string) string RollbackStub func(string) error SelectStub func(string, interface{}, string, ...interface{}) error // contains filtered or unexported fields }
func (*FabricCATx) Commit ¶
func (fake *FabricCATx) Commit(arg1 string) error
func (*FabricCATx) CommitArgsForCall ¶
func (fake *FabricCATx) CommitArgsForCall(i int) string
func (*FabricCATx) CommitCallCount ¶
func (fake *FabricCATx) CommitCallCount() int
func (*FabricCATx) CommitCalls ¶
func (fake *FabricCATx) CommitCalls(stub func(string) error)
func (*FabricCATx) CommitReturns ¶
func (fake *FabricCATx) CommitReturns(result1 error)
func (*FabricCATx) CommitReturnsOnCall ¶
func (fake *FabricCATx) CommitReturnsOnCall(i int, result1 error)
func (*FabricCATx) ExecArgsForCall ¶
func (fake *FabricCATx) ExecArgsForCall(i int) (string, string, []interface{})
func (*FabricCATx) ExecCallCount ¶
func (fake *FabricCATx) ExecCallCount() int
func (*FabricCATx) ExecReturns ¶
func (fake *FabricCATx) ExecReturns(result1 sql.Result, result2 error)
func (*FabricCATx) ExecReturnsOnCall ¶
func (fake *FabricCATx) ExecReturnsOnCall(i int, result1 sql.Result, result2 error)
func (*FabricCATx) Get ¶
func (fake *FabricCATx) Get(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
func (*FabricCATx) GetArgsForCall ¶
func (fake *FabricCATx) GetArgsForCall(i int) (string, interface{}, string, []interface{})
func (*FabricCATx) GetCallCount ¶
func (fake *FabricCATx) GetCallCount() int
func (*FabricCATx) GetCalls ¶
func (fake *FabricCATx) GetCalls(stub func(string, interface{}, string, ...interface{}) error)
func (*FabricCATx) GetReturns ¶
func (fake *FabricCATx) GetReturns(result1 error)
func (*FabricCATx) GetReturnsOnCall ¶
func (fake *FabricCATx) GetReturnsOnCall(i int, result1 error)
func (*FabricCATx) Invocations ¶
func (fake *FabricCATx) Invocations() map[string][][]interface{}
func (*FabricCATx) QueryxArgsForCall ¶
func (fake *FabricCATx) QueryxArgsForCall(i int) (string, string, []interface{})
func (*FabricCATx) QueryxCallCount ¶
func (fake *FabricCATx) QueryxCallCount() int
func (*FabricCATx) QueryxCalls ¶
func (*FabricCATx) QueryxReturns ¶
func (fake *FabricCATx) QueryxReturns(result1 *sqlx.Rows, result2 error)
func (*FabricCATx) QueryxReturnsOnCall ¶
func (fake *FabricCATx) QueryxReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
func (*FabricCATx) Rebind ¶
func (fake *FabricCATx) Rebind(arg1 string) string
func (*FabricCATx) RebindArgsForCall ¶
func (fake *FabricCATx) RebindArgsForCall(i int) string
func (*FabricCATx) RebindCallCount ¶
func (fake *FabricCATx) RebindCallCount() int
func (*FabricCATx) RebindCalls ¶
func (fake *FabricCATx) RebindCalls(stub func(string) string)
func (*FabricCATx) RebindReturns ¶
func (fake *FabricCATx) RebindReturns(result1 string)
func (*FabricCATx) RebindReturnsOnCall ¶
func (fake *FabricCATx) RebindReturnsOnCall(i int, result1 string)
func (*FabricCATx) Rollback ¶
func (fake *FabricCATx) Rollback(arg1 string) error
func (*FabricCATx) RollbackArgsForCall ¶
func (fake *FabricCATx) RollbackArgsForCall(i int) string
func (*FabricCATx) RollbackCallCount ¶
func (fake *FabricCATx) RollbackCallCount() int
func (*FabricCATx) RollbackCalls ¶
func (fake *FabricCATx) RollbackCalls(stub func(string) error)
func (*FabricCATx) RollbackReturns ¶
func (fake *FabricCATx) RollbackReturns(result1 error)
func (*FabricCATx) RollbackReturnsOnCall ¶
func (fake *FabricCATx) RollbackReturnsOnCall(i int, result1 error)
func (*FabricCATx) Select ¶
func (fake *FabricCATx) Select(arg1 string, arg2 interface{}, arg3 string, arg4 ...interface{}) error
func (*FabricCATx) SelectArgsForCall ¶
func (fake *FabricCATx) SelectArgsForCall(i int) (string, interface{}, string, []interface{})
func (*FabricCATx) SelectCallCount ¶
func (fake *FabricCATx) SelectCallCount() int
func (*FabricCATx) SelectCalls ¶
func (fake *FabricCATx) SelectCalls(stub func(string, interface{}, string, ...interface{}) error)
func (*FabricCATx) SelectReturns ¶
func (fake *FabricCATx) SelectReturns(result1 error)
func (*FabricCATx) SelectReturnsOnCall ¶
func (fake *FabricCATx) SelectReturnsOnCall(i int, result1 error)
type Migrator ¶
type Migrator struct { CommitStub func() error MigrateAffiliationsTableStub func() error MigrateCertificatesTableStub func() error MigrateCredentialsTableStub func() error MigrateNoncesTableStub func() error MigrateRAInfoTableStub func() error MigrateUsersTableStub func() error RollbackStub func() error // contains filtered or unexported fields }
func (*Migrator) CommitCallCount ¶
func (*Migrator) CommitCalls ¶
func (*Migrator) CommitReturns ¶
func (*Migrator) CommitReturnsOnCall ¶
func (*Migrator) Invocations ¶
func (*Migrator) MigrateAffiliationsTable ¶
func (*Migrator) MigrateAffiliationsTableCallCount ¶
func (*Migrator) MigrateAffiliationsTableCalls ¶
func (*Migrator) MigrateAffiliationsTableReturns ¶
func (*Migrator) MigrateAffiliationsTableReturnsOnCall ¶
func (*Migrator) MigrateCertificatesTable ¶
func (*Migrator) MigrateCertificatesTableCallCount ¶
func (*Migrator) MigrateCertificatesTableCalls ¶
func (*Migrator) MigrateCertificatesTableReturns ¶
func (*Migrator) MigrateCertificatesTableReturnsOnCall ¶
func (*Migrator) MigrateCredentialsTable ¶
func (*Migrator) MigrateCredentialsTableCallCount ¶
func (*Migrator) MigrateCredentialsTableCalls ¶
func (*Migrator) MigrateCredentialsTableReturns ¶
func (*Migrator) MigrateCredentialsTableReturnsOnCall ¶
func (*Migrator) MigrateNoncesTable ¶
func (*Migrator) MigrateNoncesTableCallCount ¶
func (*Migrator) MigrateNoncesTableCalls ¶
func (*Migrator) MigrateNoncesTableReturns ¶
func (*Migrator) MigrateNoncesTableReturnsOnCall ¶
func (*Migrator) MigrateRAInfoTable ¶
func (*Migrator) MigrateRAInfoTableCallCount ¶
func (*Migrator) MigrateRAInfoTableCalls ¶
func (*Migrator) MigrateRAInfoTableReturns ¶
func (*Migrator) MigrateRAInfoTableReturnsOnCall ¶
func (*Migrator) MigrateUsersTable ¶
func (*Migrator) MigrateUsersTableCallCount ¶
func (*Migrator) MigrateUsersTableCalls ¶
func (*Migrator) MigrateUsersTableReturns ¶
func (*Migrator) MigrateUsersTableReturnsOnCall ¶
func (*Migrator) RollbackCallCount ¶
func (*Migrator) RollbackCalls ¶
func (*Migrator) RollbackReturns ¶
func (*Migrator) RollbackReturnsOnCall ¶
type Result ¶
Result is an autogenerated mock type for the Result type
func (*Result) LastInsertId ¶
LastInsertId provides a mock function with given fields:
func (*Result) RowsAffected ¶
RowsAffected provides a mock function with given fields:
type SqlxDB ¶
type SqlxDB struct { CloseStub func() error DriverNameStub func() string ExecStub func(string, ...interface{}) (sql.Result, error) GetStub func(interface{}, string, ...interface{}) error MustBeginStub func() *sqlx.Tx NamedExecStub func(string, interface{}) (sql.Result, error) PingContextStub func(context.Context) error QueryxStub func(string, ...interface{}) (*sqlx.Rows, error) RebindStub func(string) string SelectStub func(interface{}, string, ...interface{}) error SetMaxOpenConnsStub func(int) // contains filtered or unexported fields }
func (*SqlxDB) CloseCallCount ¶
func (*SqlxDB) CloseCalls ¶
func (*SqlxDB) CloseReturns ¶
func (*SqlxDB) CloseReturnsOnCall ¶
func (*SqlxDB) DriverName ¶
func (*SqlxDB) DriverNameCallCount ¶
func (*SqlxDB) DriverNameCalls ¶
func (*SqlxDB) DriverNameReturns ¶
func (*SqlxDB) DriverNameReturnsOnCall ¶
func (*SqlxDB) ExecArgsForCall ¶
func (*SqlxDB) ExecCallCount ¶
func (*SqlxDB) ExecReturnsOnCall ¶
func (*SqlxDB) GetArgsForCall ¶
func (*SqlxDB) GetCallCount ¶
func (*SqlxDB) GetReturns ¶
func (*SqlxDB) GetReturnsOnCall ¶
func (*SqlxDB) Invocations ¶
func (*SqlxDB) MustBeginCallCount ¶
func (*SqlxDB) MustBeginCalls ¶
func (*SqlxDB) MustBeginReturns ¶
func (*SqlxDB) MustBeginReturnsOnCall ¶
func (*SqlxDB) NamedExecArgsForCall ¶
func (*SqlxDB) NamedExecCallCount ¶
func (*SqlxDB) NamedExecCalls ¶
func (*SqlxDB) NamedExecReturns ¶
func (*SqlxDB) NamedExecReturnsOnCall ¶
func (*SqlxDB) PingContextArgsForCall ¶
func (*SqlxDB) PingContextCallCount ¶
func (*SqlxDB) PingContextCalls ¶
func (*SqlxDB) PingContextReturns ¶
func (*SqlxDB) PingContextReturnsOnCall ¶
func (*SqlxDB) QueryxArgsForCall ¶
func (*SqlxDB) QueryxCallCount ¶
func (*SqlxDB) QueryxCalls ¶
func (*SqlxDB) QueryxReturnsOnCall ¶
func (*SqlxDB) RebindArgsForCall ¶
func (*SqlxDB) RebindCallCount ¶
func (*SqlxDB) RebindCalls ¶
func (*SqlxDB) RebindReturns ¶
func (*SqlxDB) RebindReturnsOnCall ¶
func (*SqlxDB) SelectArgsForCall ¶
func (*SqlxDB) SelectCallCount ¶
func (*SqlxDB) SelectCalls ¶
func (*SqlxDB) SelectReturns ¶
func (*SqlxDB) SelectReturnsOnCall ¶
func (*SqlxDB) SetMaxOpenConns ¶
func (*SqlxDB) SetMaxOpenConnsArgsForCall ¶
func (*SqlxDB) SetMaxOpenConnsCallCount ¶
func (*SqlxDB) SetMaxOpenConnsCalls ¶
type SqlxTx ¶
type SqlxTx struct { CommitStub func() error ExecStub func(string, ...interface{}) (sql.Result, error) GetStub func(interface{}, string, ...interface{}) error QueryxStub func(string, ...interface{}) (*sqlx.Rows, error) RebindStub func(string) string RollbackStub func() error SelectStub func(interface{}, string, ...interface{}) error // contains filtered or unexported fields }
func (*SqlxTx) CommitCallCount ¶
func (*SqlxTx) CommitCalls ¶
func (*SqlxTx) CommitReturns ¶
func (*SqlxTx) CommitReturnsOnCall ¶
func (*SqlxTx) ExecArgsForCall ¶
func (*SqlxTx) ExecCallCount ¶
func (*SqlxTx) ExecReturnsOnCall ¶
func (*SqlxTx) GetArgsForCall ¶
func (*SqlxTx) GetCallCount ¶
func (*SqlxTx) GetReturns ¶
func (*SqlxTx) GetReturnsOnCall ¶
func (*SqlxTx) Invocations ¶
func (*SqlxTx) QueryxArgsForCall ¶
func (*SqlxTx) QueryxCallCount ¶
func (*SqlxTx) QueryxCalls ¶
func (*SqlxTx) QueryxReturnsOnCall ¶
func (*SqlxTx) RebindArgsForCall ¶
func (*SqlxTx) RebindCallCount ¶
func (*SqlxTx) RebindCalls ¶
func (*SqlxTx) RebindReturns ¶
func (*SqlxTx) RebindReturnsOnCall ¶
func (*SqlxTx) RollbackCallCount ¶
func (*SqlxTx) RollbackCalls ¶
func (*SqlxTx) RollbackReturns ¶
func (*SqlxTx) RollbackReturnsOnCall ¶
func (*SqlxTx) SelectArgsForCall ¶
func (*SqlxTx) SelectCallCount ¶
func (*SqlxTx) SelectCalls ¶
func (*SqlxTx) SelectReturns ¶
func (*SqlxTx) SelectReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.