mariadb_helperfakes

package
v2.1.4+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2022 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeDBHelper

type FakeDBHelper struct {
	StartMysqldInStandAloneStub func()

	StartMysqldInJoinStub func() (*exec.Cmd, error)

	StartMysqldInBootstrapStub func() (*exec.Cmd, error)

	StopMysqldStub func()

	UpgradeStub func() (output string, err error)

	IsDatabaseReachableStub func() bool

	IsProcessRunningStub func() bool

	SeedStub func() error

	RunPostStartSQLStub func() error

	TestDatabaseCleanupStub func() 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) 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) 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) 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) SeedReturns

func (fake *FakeDBHelper) SeedReturns(result1 error)

func (*FakeDBHelper) SeedReturnsOnCall

func (fake *FakeDBHelper) SeedReturnsOnCall(i int, result1 error)

func (*FakeDBHelper) StartMysqldInBootstrap

func (fake *FakeDBHelper) StartMysqldInBootstrap() (*exec.Cmd, error)

func (*FakeDBHelper) StartMysqldInBootstrapCallCount

func (fake *FakeDBHelper) StartMysqldInBootstrapCallCount() int

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) 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) StartMysqldInStandAlone

func (fake *FakeDBHelper) StartMysqldInStandAlone()

func (*FakeDBHelper) StartMysqldInStandAloneCallCount

func (fake *FakeDBHelper) StartMysqldInStandAloneCallCount() int

func (*FakeDBHelper) StopMysqld

func (fake *FakeDBHelper) StopMysqld()

func (*FakeDBHelper) StopMysqldCallCount

func (fake *FakeDBHelper) StopMysqldCallCount() int

func (*FakeDBHelper) TestDatabaseCleanup

func (fake *FakeDBHelper) TestDatabaseCleanup() error

func (*FakeDBHelper) TestDatabaseCleanupCallCount

func (fake *FakeDBHelper) TestDatabaseCleanupCallCount() int

func (*FakeDBHelper) TestDatabaseCleanupReturns

func (fake *FakeDBHelper) TestDatabaseCleanupReturns(result1 error)

func (*FakeDBHelper) TestDatabaseCleanupReturnsOnCall

func (fake *FakeDBHelper) TestDatabaseCleanupReturnsOnCall(i int, result1 error)

func (*FakeDBHelper) Upgrade

func (fake *FakeDBHelper) Upgrade() (output string, err error)

func (*FakeDBHelper) UpgradeCallCount

func (fake *FakeDBHelper) UpgradeCallCount() int

func (*FakeDBHelper) UpgradeReturns

func (fake *FakeDBHelper) UpgradeReturns(result1 string, result2 error)

func (*FakeDBHelper) UpgradeReturnsOnCall

func (fake *FakeDBHelper) UpgradeReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL