mocks

package
v1.0.65 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2023 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DBMS

type DBMS struct {
	mock.Mock
}

DBMS is an autogenerated mock type for the DBMS type

func NewDBMS

func NewDBMS(t mockConstructorTestingTNewDBMS) *DBMS

NewDBMS creates a new instance of DBMS. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*DBMS) EXPECT

func (_m *DBMS) EXPECT() *DBMS_Expecter

func (*DBMS) InitCommand

func (_m *DBMS) InitCommand() []string

InitCommand provides a mock function with given fields:

func (*DBMS) PodSpec

func (_m *DBMS) PodSpec(_a0 dbms.ClientSettings) (podrun.DBMSSpec, error)

PodSpec provides a mock function with given fields: _a0

func (*DBMS) ShellCommand

func (_m *DBMS) ShellCommand() []string

ShellCommand provides a mock function with given fields:

func (*DBMS) Type

func (_m *DBMS) Type() api.DBMS

Type provides a mock function with given fields:

type DBMS_Expecter

type DBMS_Expecter struct {
	// contains filtered or unexported fields
}

func (*DBMS_Expecter) InitCommand

func (_e *DBMS_Expecter) InitCommand() *DBMS_InitCommand_Call

InitCommand is a helper method to define mock.On call

func (*DBMS_Expecter) PodSpec

func (_e *DBMS_Expecter) PodSpec(_a0 interface{}) *DBMS_PodSpec_Call

PodSpec is a helper method to define mock.On call

  • _a0 dbms.ClientSettings

func (*DBMS_Expecter) ShellCommand

func (_e *DBMS_Expecter) ShellCommand() *DBMS_ShellCommand_Call

ShellCommand is a helper method to define mock.On call

func (*DBMS_Expecter) Type

func (_e *DBMS_Expecter) Type() *DBMS_Type_Call

Type is a helper method to define mock.On call

type DBMS_InitCommand_Call

type DBMS_InitCommand_Call struct {
	*mock.Call
}

DBMS_InitCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'InitCommand'

func (*DBMS_InitCommand_Call) Return

func (*DBMS_InitCommand_Call) Run

func (_c *DBMS_InitCommand_Call) Run(run func()) *DBMS_InitCommand_Call

type DBMS_PodSpec_Call

type DBMS_PodSpec_Call struct {
	*mock.Call
}

DBMS_PodSpec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodSpec'

func (*DBMS_PodSpec_Call) Return

func (*DBMS_PodSpec_Call) Run

func (_c *DBMS_PodSpec_Call) Run(run func(_a0 dbms.ClientSettings)) *DBMS_PodSpec_Call

type DBMS_ShellCommand_Call

type DBMS_ShellCommand_Call struct {
	*mock.Call
}

DBMS_ShellCommand_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ShellCommand'

func (*DBMS_ShellCommand_Call) Return

func (*DBMS_ShellCommand_Call) Run

func (_c *DBMS_ShellCommand_Call) Run(run func()) *DBMS_ShellCommand_Call

type DBMS_Type_Call

type DBMS_Type_Call struct {
	*mock.Call
}

DBMS_Type_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Type'

func (*DBMS_Type_Call) Return

func (_c *DBMS_Type_Call) Return(_a0 api.DBMS) *DBMS_Type_Call

func (*DBMS_Type_Call) Run

func (_c *DBMS_Type_Call) Run(run func()) *DBMS_Type_Call

Jump to

Keyboard shortcuts

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