Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter
Index ¶
- type FakeDatabase
- func (fake *FakeDatabase) GrantPrivileges() error
- func (fake *FakeDatabase) GrantPrivilegesCallCount() int
- func (fake *FakeDatabase) GrantPrivilegesReturns(result1 error)
- func (fake *FakeDatabase) Invocations() map[string][][]interface{}
- func (fake *FakeDatabase) KillActiveConnections() error
- func (fake *FakeDatabase) KillActiveConnectionsCallCount() int
- func (fake *FakeDatabase) KillActiveConnectionsReturns(result1 error)
- func (fake *FakeDatabase) Name() string
- func (fake *FakeDatabase) NameCallCount() int
- func (fake *FakeDatabase) NameReturns(result1 string)
- func (fake *FakeDatabase) RevokePrivileges() error
- func (fake *FakeDatabase) RevokePrivilegesCallCount() int
- func (fake *FakeDatabase) RevokePrivilegesReturns(result1 error)
- type FakeRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDatabase ¶
type FakeDatabase struct { NameStub func() string GrantPrivilegesStub func() error RevokePrivilegesStub func() error KillActiveConnectionsStub func() error // contains filtered or unexported fields }
func (*FakeDatabase) GrantPrivileges ¶
func (fake *FakeDatabase) GrantPrivileges() error
func (*FakeDatabase) GrantPrivilegesCallCount ¶
func (fake *FakeDatabase) GrantPrivilegesCallCount() int
func (*FakeDatabase) GrantPrivilegesReturns ¶
func (fake *FakeDatabase) GrantPrivilegesReturns(result1 error)
func (*FakeDatabase) Invocations ¶
func (fake *FakeDatabase) Invocations() map[string][][]interface{}
func (*FakeDatabase) KillActiveConnections ¶
func (fake *FakeDatabase) KillActiveConnections() error
func (*FakeDatabase) KillActiveConnectionsCallCount ¶
func (fake *FakeDatabase) KillActiveConnectionsCallCount() int
func (*FakeDatabase) KillActiveConnectionsReturns ¶
func (fake *FakeDatabase) KillActiveConnectionsReturns(result1 error)
func (*FakeDatabase) Name ¶
func (fake *FakeDatabase) Name() string
func (*FakeDatabase) NameCallCount ¶
func (fake *FakeDatabase) NameCallCount() int
func (*FakeDatabase) NameReturns ¶
func (fake *FakeDatabase) NameReturns(result1 string)
func (*FakeDatabase) RevokePrivileges ¶
func (fake *FakeDatabase) RevokePrivileges() error
func (*FakeDatabase) RevokePrivilegesCallCount ¶
func (fake *FakeDatabase) RevokePrivilegesCallCount() int
func (*FakeDatabase) RevokePrivilegesReturns ¶
func (fake *FakeDatabase) RevokePrivilegesReturns(result1 error)
type FakeRepo ¶
type FakeRepo struct { AllStub func() ([]database.Database, error) // contains filtered or unexported fields }
func (*FakeRepo) AllCallCount ¶
func (*FakeRepo) AllReturns ¶
func (*FakeRepo) Invocations ¶
Click to show internal directories.
Click to hide internal directories.