Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeNotificationConnectionCreator
- func (fake *FakeNotificationConnectionCreator) Invocations() map[string][][]interface{}
- func (fake *FakeNotificationConnectionCreator) NewConnection(arg1 func(isRunning bool, err error)) notification_connection.NotificationConnection
- func (fake *FakeNotificationConnectionCreator) NewConnectionArgsForCall(i int) func(isRunning bool, err error)
- func (fake *FakeNotificationConnectionCreator) NewConnectionCallCount() int
- func (fake *FakeNotificationConnectionCreator) NewConnectionCalls(...)
- func (fake *FakeNotificationConnectionCreator) NewConnectionReturns(result1 notification_connection.NotificationConnection)
- func (fake *FakeNotificationConnectionCreator) NewConnectionReturnsOnCall(i int, result1 notification_connection.NotificationConnection)
- type FakeNotificationStorage
- func (fake *FakeNotificationStorage) GetLastRevision(arg1 context.Context) (int64, error)
- func (fake *FakeNotificationStorage) GetLastRevisionArgsForCall(i int) context.Context
- func (fake *FakeNotificationStorage) GetLastRevisionCallCount() int
- func (fake *FakeNotificationStorage) GetLastRevisionCalls(stub func(context.Context) (int64, error))
- func (fake *FakeNotificationStorage) GetLastRevisionReturns(result1 int64, result2 error)
- func (fake *FakeNotificationStorage) GetLastRevisionReturnsOnCall(i int, result1 int64, result2 error)
- func (fake *FakeNotificationStorage) GetNotification(arg1 context.Context, arg2 string) (*types.Notification, error)
- func (fake *FakeNotificationStorage) GetNotificationArgsForCall(i int) (context.Context, string)
- func (fake *FakeNotificationStorage) GetNotificationByRevision(arg1 context.Context, arg2 int64) (*types.Notification, error)
- func (fake *FakeNotificationStorage) GetNotificationByRevisionArgsForCall(i int) (context.Context, int64)
- func (fake *FakeNotificationStorage) GetNotificationByRevisionCallCount() int
- func (fake *FakeNotificationStorage) GetNotificationByRevisionCalls(stub func(context.Context, int64) (*types.Notification, error))
- func (fake *FakeNotificationStorage) GetNotificationByRevisionReturns(result1 *types.Notification, result2 error)
- func (fake *FakeNotificationStorage) GetNotificationByRevisionReturnsOnCall(i int, result1 *types.Notification, result2 error)
- func (fake *FakeNotificationStorage) GetNotificationCallCount() int
- func (fake *FakeNotificationStorage) GetNotificationCalls(stub func(context.Context, string) (*types.Notification, error))
- func (fake *FakeNotificationStorage) GetNotificationReturns(result1 *types.Notification, result2 error)
- func (fake *FakeNotificationStorage) GetNotificationReturnsOnCall(i int, result1 *types.Notification, result2 error)
- func (fake *FakeNotificationStorage) Invocations() map[string][][]interface{}
- func (fake *FakeNotificationStorage) ListNotifications(arg1 context.Context, arg2 string, arg3 int64, arg4 int64) ([]*types.Notification, error)
- func (fake *FakeNotificationStorage) ListNotificationsArgsForCall(i int) (context.Context, string, int64, int64)
- func (fake *FakeNotificationStorage) ListNotificationsCallCount() int
- func (fake *FakeNotificationStorage) ListNotificationsCalls(...)
- func (fake *FakeNotificationStorage) ListNotificationsReturns(result1 []*types.Notification, result2 error)
- func (fake *FakeNotificationStorage) ListNotificationsReturnsOnCall(i int, result1 []*types.Notification, result2 error)
- type FakePgDB
- func (fake *FakePgDB) BindNamed(arg1 string, arg2 interface{}) (string, []interface{}, error)
- func (fake *FakePgDB) BindNamedArgsForCall(i int) (string, interface{})
- func (fake *FakePgDB) BindNamedCallCount() int
- func (fake *FakePgDB) BindNamedCalls(stub func(string, interface{}) (string, []interface{}, error))
- func (fake *FakePgDB) BindNamedReturns(result1 string, result2 []interface{}, result3 error)
- func (fake *FakePgDB) BindNamedReturnsOnCall(i int, result1 string, result2 []interface{}, result3 error)
- func (fake *FakePgDB) DriverName() string
- func (fake *FakePgDB) DriverNameCallCount() int
- func (fake *FakePgDB) DriverNameCalls(stub func() string)
- func (fake *FakePgDB) DriverNameReturns(result1 string)
- func (fake *FakePgDB) DriverNameReturnsOnCall(i int, result1 string)
- func (fake *FakePgDB) ExecContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (sql.Result, error)
- func (fake *FakePgDB) ExecContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) ExecContextCallCount() int
- func (fake *FakePgDB) ExecContextCalls(stub func(context.Context, string, ...interface{}) (sql.Result, error))
- func (fake *FakePgDB) ExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakePgDB) ExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakePgDB) GetContext(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...interface{}) error
- func (fake *FakePgDB) GetContextArgsForCall(i int) (context.Context, interface{}, string, []interface{})
- func (fake *FakePgDB) GetContextCallCount() int
- func (fake *FakePgDB) GetContextCalls(stub func(context.Context, interface{}, string, ...interface{}) error)
- func (fake *FakePgDB) GetContextReturns(result1 error)
- func (fake *FakePgDB) GetContextReturnsOnCall(i int, result1 error)
- func (fake *FakePgDB) Invocations() map[string][][]interface{}
- func (fake *FakePgDB) NamedExecContext(arg1 context.Context, arg2 string, arg3 interface{}) (sql.Result, error)
- func (fake *FakePgDB) NamedExecContextArgsForCall(i int) (context.Context, string, interface{})
- func (fake *FakePgDB) NamedExecContextCallCount() int
- func (fake *FakePgDB) NamedExecContextCalls(stub func(context.Context, string, interface{}) (sql.Result, error))
- func (fake *FakePgDB) NamedExecContextReturns(result1 sql.Result, result2 error)
- func (fake *FakePgDB) NamedExecContextReturnsOnCall(i int, result1 sql.Result, result2 error)
- func (fake *FakePgDB) NamedQuery(arg1 string, arg2 interface{}) (*sqlx.Rows, error)
- func (fake *FakePgDB) NamedQueryArgsForCall(i int) (string, interface{})
- func (fake *FakePgDB) NamedQueryCallCount() int
- func (fake *FakePgDB) NamedQueryCalls(stub func(string, interface{}) (*sqlx.Rows, error))
- func (fake *FakePgDB) NamedQueryReturns(result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) NamedQueryReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) PrepareNamedContext(arg1 context.Context, arg2 string) (*sqlx.NamedStmt, error)
- func (fake *FakePgDB) PrepareNamedContextArgsForCall(i int) (context.Context, string)
- func (fake *FakePgDB) PrepareNamedContextCallCount() int
- func (fake *FakePgDB) PrepareNamedContextCalls(stub func(context.Context, string) (*sqlx.NamedStmt, error))
- func (fake *FakePgDB) PrepareNamedContextReturns(result1 *sqlx.NamedStmt, result2 error)
- func (fake *FakePgDB) PrepareNamedContextReturnsOnCall(i int, result1 *sqlx.NamedStmt, result2 error)
- func (fake *FakePgDB) QueryContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sql.Rows, error)
- func (fake *FakePgDB) QueryContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) QueryContextCallCount() int
- func (fake *FakePgDB) QueryContextCalls(stub func(context.Context, string, ...interface{}) (*sql.Rows, error))
- func (fake *FakePgDB) QueryContextReturns(result1 *sql.Rows, result2 error)
- func (fake *FakePgDB) QueryContextReturnsOnCall(i int, result1 *sql.Rows, result2 error)
- func (fake *FakePgDB) QueryRowxContext(arg1 context.Context, arg2 string, arg3 ...interface{}) *sqlx.Row
- func (fake *FakePgDB) QueryRowxContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) QueryRowxContextCallCount() int
- func (fake *FakePgDB) QueryRowxContextCalls(stub func(context.Context, string, ...interface{}) *sqlx.Row)
- func (fake *FakePgDB) QueryRowxContextReturns(result1 *sqlx.Row)
- func (fake *FakePgDB) QueryRowxContextReturnsOnCall(i int, result1 *sqlx.Row)
- func (fake *FakePgDB) QueryxContext(arg1 context.Context, arg2 string, arg3 ...interface{}) (*sqlx.Rows, error)
- func (fake *FakePgDB) QueryxContextArgsForCall(i int) (context.Context, string, []interface{})
- func (fake *FakePgDB) QueryxContextCallCount() int
- func (fake *FakePgDB) QueryxContextCalls(stub func(context.Context, string, ...interface{}) (*sqlx.Rows, error))
- func (fake *FakePgDB) QueryxContextReturns(result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) QueryxContextReturnsOnCall(i int, result1 *sqlx.Rows, result2 error)
- func (fake *FakePgDB) Rebind(arg1 string) string
- func (fake *FakePgDB) RebindArgsForCall(i int) string
- func (fake *FakePgDB) RebindCallCount() int
- func (fake *FakePgDB) RebindCalls(stub func(string) string)
- func (fake *FakePgDB) RebindReturns(result1 string)
- func (fake *FakePgDB) RebindReturnsOnCall(i int, result1 string)
- func (fake *FakePgDB) SelectContext(arg1 context.Context, arg2 interface{}, arg3 string, arg4 ...interface{}) error
- func (fake *FakePgDB) SelectContextArgsForCall(i int) (context.Context, interface{}, string, []interface{})
- func (fake *FakePgDB) SelectContextCallCount() int
- func (fake *FakePgDB) SelectContextCalls(stub func(context.Context, interface{}, string, ...interface{}) error)
- func (fake *FakePgDB) SelectContextReturns(result1 error)
- func (fake *FakePgDB) SelectContextReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeNotificationConnectionCreator ¶ added in v0.3.0
type FakeNotificationConnectionCreator struct { NewConnectionStub func(func(isRunning bool, err error)) notification_connection.NotificationConnection // contains filtered or unexported fields }
func (*FakeNotificationConnectionCreator) Invocations ¶ added in v0.3.0
func (fake *FakeNotificationConnectionCreator) Invocations() map[string][][]interface{}
func (*FakeNotificationConnectionCreator) NewConnection ¶ added in v0.3.0
func (fake *FakeNotificationConnectionCreator) NewConnection(arg1 func(isRunning bool, err error)) notification_connection.NotificationConnection
func (*FakeNotificationConnectionCreator) NewConnectionArgsForCall ¶ added in v0.3.0
func (fake *FakeNotificationConnectionCreator) NewConnectionArgsForCall(i int) func(isRunning bool, err error)
func (*FakeNotificationConnectionCreator) NewConnectionCallCount ¶ added in v0.3.0
func (fake *FakeNotificationConnectionCreator) NewConnectionCallCount() int
func (*FakeNotificationConnectionCreator) NewConnectionCalls ¶ added in v0.3.0
func (fake *FakeNotificationConnectionCreator) NewConnectionCalls(stub func(func(isRunning bool, err error)) notification_connection.NotificationConnection)
func (*FakeNotificationConnectionCreator) NewConnectionReturns ¶ added in v0.3.0
func (fake *FakeNotificationConnectionCreator) NewConnectionReturns(result1 notification_connection.NotificationConnection)
func (*FakeNotificationConnectionCreator) NewConnectionReturnsOnCall ¶ added in v0.3.0
func (fake *FakeNotificationConnectionCreator) NewConnectionReturnsOnCall(i int, result1 notification_connection.NotificationConnection)
type FakeNotificationStorage ¶ added in v0.3.0
type FakeNotificationStorage struct { GetLastRevisionStub func(context.Context) (int64, error) GetNotificationStub func(context.Context, string) (*types.Notification, error) GetNotificationByRevisionStub func(context.Context, int64) (*types.Notification, error) ListNotificationsStub func(context.Context, string, int64, int64) ([]*types.Notification, error) // contains filtered or unexported fields }
func (*FakeNotificationStorage) GetLastRevision ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetLastRevision(arg1 context.Context) (int64, error)
func (*FakeNotificationStorage) GetLastRevisionArgsForCall ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetLastRevisionArgsForCall(i int) context.Context
func (*FakeNotificationStorage) GetLastRevisionCallCount ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetLastRevisionCallCount() int
func (*FakeNotificationStorage) GetLastRevisionCalls ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetLastRevisionCalls(stub func(context.Context) (int64, error))
func (*FakeNotificationStorage) GetLastRevisionReturns ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetLastRevisionReturns(result1 int64, result2 error)
func (*FakeNotificationStorage) GetLastRevisionReturnsOnCall ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetLastRevisionReturnsOnCall(i int, result1 int64, result2 error)
func (*FakeNotificationStorage) GetNotification ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetNotification(arg1 context.Context, arg2 string) (*types.Notification, error)
func (*FakeNotificationStorage) GetNotificationArgsForCall ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetNotificationArgsForCall(i int) (context.Context, string)
func (*FakeNotificationStorage) GetNotificationByRevision ¶ added in v0.3.3
func (fake *FakeNotificationStorage) GetNotificationByRevision(arg1 context.Context, arg2 int64) (*types.Notification, error)
func (*FakeNotificationStorage) GetNotificationByRevisionArgsForCall ¶ added in v0.3.3
func (fake *FakeNotificationStorage) GetNotificationByRevisionArgsForCall(i int) (context.Context, int64)
func (*FakeNotificationStorage) GetNotificationByRevisionCallCount ¶ added in v0.3.3
func (fake *FakeNotificationStorage) GetNotificationByRevisionCallCount() int
func (*FakeNotificationStorage) GetNotificationByRevisionCalls ¶ added in v0.3.3
func (fake *FakeNotificationStorage) GetNotificationByRevisionCalls(stub func(context.Context, int64) (*types.Notification, error))
func (*FakeNotificationStorage) GetNotificationByRevisionReturns ¶ added in v0.3.3
func (fake *FakeNotificationStorage) GetNotificationByRevisionReturns(result1 *types.Notification, result2 error)
func (*FakeNotificationStorage) GetNotificationByRevisionReturnsOnCall ¶ added in v0.3.3
func (fake *FakeNotificationStorage) GetNotificationByRevisionReturnsOnCall(i int, result1 *types.Notification, result2 error)
func (*FakeNotificationStorage) GetNotificationCallCount ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetNotificationCallCount() int
func (*FakeNotificationStorage) GetNotificationCalls ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetNotificationCalls(stub func(context.Context, string) (*types.Notification, error))
func (*FakeNotificationStorage) GetNotificationReturns ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetNotificationReturns(result1 *types.Notification, result2 error)
func (*FakeNotificationStorage) GetNotificationReturnsOnCall ¶ added in v0.3.0
func (fake *FakeNotificationStorage) GetNotificationReturnsOnCall(i int, result1 *types.Notification, result2 error)
func (*FakeNotificationStorage) Invocations ¶ added in v0.3.0
func (fake *FakeNotificationStorage) Invocations() map[string][][]interface{}
func (*FakeNotificationStorage) ListNotifications ¶ added in v0.3.3
func (fake *FakeNotificationStorage) ListNotifications(arg1 context.Context, arg2 string, arg3 int64, arg4 int64) ([]*types.Notification, error)
func (*FakeNotificationStorage) ListNotificationsArgsForCall ¶ added in v0.3.3
func (*FakeNotificationStorage) ListNotificationsCallCount ¶ added in v0.3.3
func (fake *FakeNotificationStorage) ListNotificationsCallCount() int
func (*FakeNotificationStorage) ListNotificationsCalls ¶ added in v0.3.3
func (fake *FakeNotificationStorage) ListNotificationsCalls(stub func(context.Context, string, int64, int64) ([]*types.Notification, error))
func (*FakeNotificationStorage) ListNotificationsReturns ¶ added in v0.3.3
func (fake *FakeNotificationStorage) ListNotificationsReturns(result1 []*types.Notification, result2 error)
func (*FakeNotificationStorage) ListNotificationsReturnsOnCall ¶ added in v0.3.3
func (fake *FakeNotificationStorage) ListNotificationsReturnsOnCall(i int, result1 []*types.Notification, result2 error)
type FakePgDB ¶
type FakePgDB struct { BindNamedStub func(string, interface{}) (string, []interface{}, error) DriverNameStub func() string ExecContextStub func(context.Context, string, ...interface{}) (sql.Result, error) GetContextStub func(context.Context, interface{}, string, ...interface{}) error NamedExecContextStub func(context.Context, string, interface{}) (sql.Result, error) NamedQueryStub func(string, interface{}) (*sqlx.Rows, error) PrepareNamedContextStub func(context.Context, string) (*sqlx.NamedStmt, error) QueryContextStub func(context.Context, string, ...interface{}) (*sql.Rows, error) QueryRowxContextStub func(context.Context, string, ...interface{}) *sqlx.Row QueryxContextStub func(context.Context, string, ...interface{}) (*sqlx.Rows, error) RebindStub func(string) string SelectContextStub func(context.Context, interface{}, string, ...interface{}) error // contains filtered or unexported fields }
func (*FakePgDB) BindNamedArgsForCall ¶
func (*FakePgDB) BindNamedCallCount ¶
func (*FakePgDB) BindNamedCalls ¶ added in v0.2.0
func (*FakePgDB) BindNamedReturns ¶
func (*FakePgDB) BindNamedReturnsOnCall ¶
func (*FakePgDB) DriverName ¶
func (*FakePgDB) DriverNameCallCount ¶
func (*FakePgDB) DriverNameCalls ¶ added in v0.2.0
func (*FakePgDB) DriverNameReturns ¶
func (*FakePgDB) DriverNameReturnsOnCall ¶
func (*FakePgDB) ExecContext ¶
func (*FakePgDB) ExecContextArgsForCall ¶
func (*FakePgDB) ExecContextCallCount ¶
func (*FakePgDB) ExecContextCalls ¶ added in v0.2.0
func (*FakePgDB) ExecContextReturns ¶
func (*FakePgDB) ExecContextReturnsOnCall ¶
func (*FakePgDB) GetContext ¶
func (*FakePgDB) GetContextArgsForCall ¶
func (*FakePgDB) GetContextCallCount ¶
func (*FakePgDB) GetContextCalls ¶ added in v0.2.0
func (*FakePgDB) GetContextReturns ¶
func (*FakePgDB) GetContextReturnsOnCall ¶
func (*FakePgDB) Invocations ¶
func (*FakePgDB) NamedExecContext ¶
func (*FakePgDB) NamedExecContextArgsForCall ¶
func (*FakePgDB) NamedExecContextCallCount ¶
func (*FakePgDB) NamedExecContextCalls ¶ added in v0.2.0
func (*FakePgDB) NamedExecContextReturns ¶
func (*FakePgDB) NamedExecContextReturnsOnCall ¶
func (*FakePgDB) NamedQuery ¶
func (*FakePgDB) NamedQueryArgsForCall ¶
func (*FakePgDB) NamedQueryCallCount ¶
func (*FakePgDB) NamedQueryCalls ¶ added in v0.2.0
func (*FakePgDB) NamedQueryReturns ¶
func (*FakePgDB) NamedQueryReturnsOnCall ¶
func (*FakePgDB) PrepareNamedContext ¶
func (*FakePgDB) PrepareNamedContextArgsForCall ¶
func (*FakePgDB) PrepareNamedContextCallCount ¶
func (*FakePgDB) PrepareNamedContextCalls ¶ added in v0.2.0
func (*FakePgDB) PrepareNamedContextReturns ¶
func (*FakePgDB) PrepareNamedContextReturnsOnCall ¶
func (*FakePgDB) QueryContext ¶
func (*FakePgDB) QueryContextArgsForCall ¶
func (*FakePgDB) QueryContextCallCount ¶
func (*FakePgDB) QueryContextCalls ¶ added in v0.2.0
func (*FakePgDB) QueryContextReturns ¶
func (*FakePgDB) QueryContextReturnsOnCall ¶
func (*FakePgDB) QueryRowxContext ¶
func (*FakePgDB) QueryRowxContextArgsForCall ¶
func (*FakePgDB) QueryRowxContextCallCount ¶
func (*FakePgDB) QueryRowxContextCalls ¶ added in v0.2.0
func (*FakePgDB) QueryRowxContextReturns ¶
func (*FakePgDB) QueryRowxContextReturnsOnCall ¶
func (*FakePgDB) QueryxContext ¶
func (*FakePgDB) QueryxContextArgsForCall ¶
func (*FakePgDB) QueryxContextCallCount ¶
func (*FakePgDB) QueryxContextCalls ¶ added in v0.2.0
func (*FakePgDB) QueryxContextReturns ¶
func (*FakePgDB) QueryxContextReturnsOnCall ¶
func (*FakePgDB) RebindArgsForCall ¶
func (*FakePgDB) RebindCallCount ¶
func (*FakePgDB) RebindCalls ¶ added in v0.2.0
func (*FakePgDB) RebindReturns ¶
func (*FakePgDB) RebindReturnsOnCall ¶
func (*FakePgDB) SelectContext ¶
func (*FakePgDB) SelectContextArgsForCall ¶
func (*FakePgDB) SelectContextCallCount ¶
func (*FakePgDB) SelectContextCalls ¶ added in v0.2.0
func (*FakePgDB) SelectContextReturns ¶
func (*FakePgDB) SelectContextReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.