Documentation
¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeDBHelper
- func (fake *FakeDBHelper) Invocations() map[string][][]interface{}
- func (fake *FakeDBHelper) IsDatabaseReachable() bool
- func (fake *FakeDBHelper) IsDatabaseReachableCallCount() int
- func (fake *FakeDBHelper) IsDatabaseReachableCalls(stub func() bool)
- func (fake *FakeDBHelper) IsDatabaseReachableReturns(result1 bool)
- func (fake *FakeDBHelper) IsDatabaseReachableReturnsOnCall(i int, result1 bool)
- func (fake *FakeDBHelper) IsProcessRunning() bool
- func (fake *FakeDBHelper) IsProcessRunningCallCount() int
- func (fake *FakeDBHelper) IsProcessRunningCalls(stub func() bool)
- func (fake *FakeDBHelper) IsProcessRunningReturns(result1 bool)
- func (fake *FakeDBHelper) IsProcessRunningReturnsOnCall(i int, result1 bool)
- func (fake *FakeDBHelper) RunPostStartSQL() error
- func (fake *FakeDBHelper) RunPostStartSQLCallCount() int
- func (fake *FakeDBHelper) RunPostStartSQLCalls(stub func() error)
- func (fake *FakeDBHelper) RunPostStartSQLReturns(result1 error)
- func (fake *FakeDBHelper) RunPostStartSQLReturnsOnCall(i int, result1 error)
- func (fake *FakeDBHelper) Seed() error
- func (fake *FakeDBHelper) SeedCallCount() int
- func (fake *FakeDBHelper) SeedCalls(stub func() error)
- func (fake *FakeDBHelper) SeedReturns(result1 error)
- func (fake *FakeDBHelper) SeedReturnsOnCall(i int, result1 error)
- func (fake *FakeDBHelper) SeedUsers() error
- func (fake *FakeDBHelper) SeedUsersCallCount() int
- func (fake *FakeDBHelper) SeedUsersCalls(stub func() error)
- func (fake *FakeDBHelper) SeedUsersReturns(result1 error)
- func (fake *FakeDBHelper) SeedUsersReturnsOnCall(i int, result1 error)
- func (fake *FakeDBHelper) StartMysqldForUpgrade() (*exec.Cmd, error)
- func (fake *FakeDBHelper) StartMysqldForUpgradeCallCount() int
- func (fake *FakeDBHelper) StartMysqldForUpgradeCalls(stub func() (*exec.Cmd, error))
- func (fake *FakeDBHelper) StartMysqldForUpgradeReturns(result1 *exec.Cmd, result2 error)
- func (fake *FakeDBHelper) StartMysqldForUpgradeReturnsOnCall(i int, result1 *exec.Cmd, result2 error)
- func (fake *FakeDBHelper) StartMysqldInBootstrap() (*exec.Cmd, error)
- func (fake *FakeDBHelper) StartMysqldInBootstrapCallCount() int
- func (fake *FakeDBHelper) StartMysqldInBootstrapCalls(stub func() (*exec.Cmd, error))
- func (fake *FakeDBHelper) StartMysqldInBootstrapReturns(result1 *exec.Cmd, result2 error)
- func (fake *FakeDBHelper) StartMysqldInBootstrapReturnsOnCall(i int, result1 *exec.Cmd, result2 error)
- func (fake *FakeDBHelper) StartMysqldInJoin() (*exec.Cmd, error)
- func (fake *FakeDBHelper) StartMysqldInJoinCallCount() int
- func (fake *FakeDBHelper) StartMysqldInJoinCalls(stub func() (*exec.Cmd, error))
- func (fake *FakeDBHelper) StartMysqldInJoinReturns(result1 *exec.Cmd, result2 error)
- func (fake *FakeDBHelper) StartMysqldInJoinReturnsOnCall(i int, result1 *exec.Cmd, result2 error)
- func (fake *FakeDBHelper) StopMysqld()
- func (fake *FakeDBHelper) StopMysqldCallCount() int
- func (fake *FakeDBHelper) StopMysqldCalls(stub func())
- func (fake *FakeDBHelper) Upgrade() (string, error)
- func (fake *FakeDBHelper) UpgradeCallCount() int
- func (fake *FakeDBHelper) UpgradeCalls(stub func() (string, error))
- func (fake *FakeDBHelper) UpgradeReturns(result1 string, result2 error)
- func (fake *FakeDBHelper) UpgradeReturnsOnCall(i int, result1 string, result2 error)
- type FakeUserSeeder
- func (fake *FakeUserSeeder) Invocations() map[string][][]interface{}
- func (fake *FakeUserSeeder) SeedUser(arg1 string, arg2 string, arg3 string, arg4 string) error
- func (fake *FakeUserSeeder) SeedUserArgsForCall(i int) (string, string, string, string)
- func (fake *FakeUserSeeder) SeedUserCallCount() int
- func (fake *FakeUserSeeder) SeedUserCalls(stub func(string, string, string, string) error)
- func (fake *FakeUserSeeder) SeedUserReturns(result1 error)
- func (fake *FakeUserSeeder) SeedUserReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeDBHelper ¶
type FakeDBHelper struct { IsDatabaseReachableStub func() bool IsProcessRunningStub func() bool RunPostStartSQLStub func() error SeedStub func() error SeedUsersStub func() error StartMysqldForUpgradeStub func() (*exec.Cmd, error) StartMysqldInBootstrapStub func() (*exec.Cmd, error) StartMysqldInJoinStub func() (*exec.Cmd, error) StopMysqldStub func() UpgradeStub func() (string, error) // contains filtered or unexported fields }
func (*FakeDBHelper) Invocations ¶
func (fake *FakeDBHelper) Invocations() map[string][][]interface{}
func (*FakeDBHelper) IsDatabaseReachable ¶
func (fake *FakeDBHelper) IsDatabaseReachable() bool
func (*FakeDBHelper) IsDatabaseReachableCallCount ¶
func (fake *FakeDBHelper) IsDatabaseReachableCallCount() int
func (*FakeDBHelper) IsDatabaseReachableCalls ¶
func (fake *FakeDBHelper) IsDatabaseReachableCalls(stub func() bool)
func (*FakeDBHelper) IsDatabaseReachableReturns ¶
func (fake *FakeDBHelper) IsDatabaseReachableReturns(result1 bool)
func (*FakeDBHelper) IsDatabaseReachableReturnsOnCall ¶
func (fake *FakeDBHelper) IsDatabaseReachableReturnsOnCall(i int, result1 bool)
func (*FakeDBHelper) IsProcessRunning ¶
func (fake *FakeDBHelper) IsProcessRunning() bool
func (*FakeDBHelper) IsProcessRunningCallCount ¶
func (fake *FakeDBHelper) IsProcessRunningCallCount() int
func (*FakeDBHelper) IsProcessRunningCalls ¶
func (fake *FakeDBHelper) IsProcessRunningCalls(stub func() bool)
func (*FakeDBHelper) IsProcessRunningReturns ¶
func (fake *FakeDBHelper) IsProcessRunningReturns(result1 bool)
func (*FakeDBHelper) IsProcessRunningReturnsOnCall ¶
func (fake *FakeDBHelper) IsProcessRunningReturnsOnCall(i int, result1 bool)
func (*FakeDBHelper) RunPostStartSQL ¶
func (fake *FakeDBHelper) RunPostStartSQL() error
func (*FakeDBHelper) RunPostStartSQLCallCount ¶
func (fake *FakeDBHelper) RunPostStartSQLCallCount() int
func (*FakeDBHelper) RunPostStartSQLCalls ¶
func (fake *FakeDBHelper) RunPostStartSQLCalls(stub func() error)
func (*FakeDBHelper) RunPostStartSQLReturns ¶
func (fake *FakeDBHelper) RunPostStartSQLReturns(result1 error)
func (*FakeDBHelper) RunPostStartSQLReturnsOnCall ¶
func (fake *FakeDBHelper) RunPostStartSQLReturnsOnCall(i int, result1 error)
func (*FakeDBHelper) Seed ¶
func (fake *FakeDBHelper) Seed() error
func (*FakeDBHelper) SeedCallCount ¶
func (fake *FakeDBHelper) SeedCallCount() int
func (*FakeDBHelper) SeedCalls ¶
func (fake *FakeDBHelper) SeedCalls(stub func() error)
func (*FakeDBHelper) SeedReturns ¶
func (fake *FakeDBHelper) SeedReturns(result1 error)
func (*FakeDBHelper) SeedReturnsOnCall ¶
func (fake *FakeDBHelper) SeedReturnsOnCall(i int, result1 error)
func (*FakeDBHelper) SeedUsers ¶
func (fake *FakeDBHelper) SeedUsers() error
func (*FakeDBHelper) SeedUsersCallCount ¶
func (fake *FakeDBHelper) SeedUsersCallCount() int
func (*FakeDBHelper) SeedUsersCalls ¶
func (fake *FakeDBHelper) SeedUsersCalls(stub func() error)
func (*FakeDBHelper) SeedUsersReturns ¶
func (fake *FakeDBHelper) SeedUsersReturns(result1 error)
func (*FakeDBHelper) SeedUsersReturnsOnCall ¶
func (fake *FakeDBHelper) SeedUsersReturnsOnCall(i int, result1 error)
func (*FakeDBHelper) StartMysqldForUpgrade ¶
func (fake *FakeDBHelper) StartMysqldForUpgrade() (*exec.Cmd, error)
func (*FakeDBHelper) StartMysqldForUpgradeCallCount ¶
func (fake *FakeDBHelper) StartMysqldForUpgradeCallCount() int
func (*FakeDBHelper) StartMysqldForUpgradeCalls ¶
func (fake *FakeDBHelper) StartMysqldForUpgradeCalls(stub func() (*exec.Cmd, error))
func (*FakeDBHelper) StartMysqldForUpgradeReturns ¶
func (fake *FakeDBHelper) StartMysqldForUpgradeReturns(result1 *exec.Cmd, result2 error)
func (*FakeDBHelper) StartMysqldForUpgradeReturnsOnCall ¶
func (fake *FakeDBHelper) StartMysqldForUpgradeReturnsOnCall(i int, result1 *exec.Cmd, result2 error)
func (*FakeDBHelper) StartMysqldInBootstrap ¶
func (fake *FakeDBHelper) StartMysqldInBootstrap() (*exec.Cmd, error)
func (*FakeDBHelper) StartMysqldInBootstrapCallCount ¶
func (fake *FakeDBHelper) StartMysqldInBootstrapCallCount() int
func (*FakeDBHelper) StartMysqldInBootstrapCalls ¶
func (fake *FakeDBHelper) StartMysqldInBootstrapCalls(stub func() (*exec.Cmd, error))
func (*FakeDBHelper) StartMysqldInBootstrapReturns ¶
func (fake *FakeDBHelper) StartMysqldInBootstrapReturns(result1 *exec.Cmd, result2 error)
func (*FakeDBHelper) StartMysqldInBootstrapReturnsOnCall ¶
func (fake *FakeDBHelper) StartMysqldInBootstrapReturnsOnCall(i int, result1 *exec.Cmd, result2 error)
func (*FakeDBHelper) StartMysqldInJoin ¶
func (fake *FakeDBHelper) StartMysqldInJoin() (*exec.Cmd, error)
func (*FakeDBHelper) StartMysqldInJoinCallCount ¶
func (fake *FakeDBHelper) StartMysqldInJoinCallCount() int
func (*FakeDBHelper) StartMysqldInJoinCalls ¶
func (fake *FakeDBHelper) StartMysqldInJoinCalls(stub func() (*exec.Cmd, error))
func (*FakeDBHelper) StartMysqldInJoinReturns ¶
func (fake *FakeDBHelper) StartMysqldInJoinReturns(result1 *exec.Cmd, result2 error)
func (*FakeDBHelper) StartMysqldInJoinReturnsOnCall ¶
func (fake *FakeDBHelper) StartMysqldInJoinReturnsOnCall(i int, result1 *exec.Cmd, result2 error)
func (*FakeDBHelper) StopMysqld ¶
func (fake *FakeDBHelper) StopMysqld()
func (*FakeDBHelper) StopMysqldCallCount ¶
func (fake *FakeDBHelper) StopMysqldCallCount() int
func (*FakeDBHelper) StopMysqldCalls ¶
func (fake *FakeDBHelper) StopMysqldCalls(stub func())
func (*FakeDBHelper) Upgrade ¶
func (fake *FakeDBHelper) Upgrade() (string, error)
func (*FakeDBHelper) UpgradeCallCount ¶
func (fake *FakeDBHelper) UpgradeCallCount() int
func (*FakeDBHelper) UpgradeCalls ¶
func (fake *FakeDBHelper) UpgradeCalls(stub func() (string, error))
func (*FakeDBHelper) UpgradeReturns ¶
func (fake *FakeDBHelper) UpgradeReturns(result1 string, result2 error)
func (*FakeDBHelper) UpgradeReturnsOnCall ¶
func (fake *FakeDBHelper) UpgradeReturnsOnCall(i int, result1 string, result2 error)
type FakeUserSeeder ¶
type FakeUserSeeder struct { SeedUserStub func(string, string, string, string) error // contains filtered or unexported fields }
func (*FakeUserSeeder) Invocations ¶
func (fake *FakeUserSeeder) Invocations() map[string][][]interface{}
func (*FakeUserSeeder) SeedUserArgsForCall ¶
func (*FakeUserSeeder) SeedUserCallCount ¶
func (fake *FakeUserSeeder) SeedUserCallCount() int
func (*FakeUserSeeder) SeedUserCalls ¶
func (*FakeUserSeeder) SeedUserReturns ¶
func (fake *FakeUserSeeder) SeedUserReturns(result1 error)
func (*FakeUserSeeder) SeedUserReturnsOnCall ¶
func (fake *FakeUserSeeder) SeedUserReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.