Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBMS ¶
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 ¶
InitCommand provides a mock function with given fields:
func (*DBMS) ShellCommand ¶
ShellCommand 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 ¶
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 (_c *DBMS_InitCommand_Call) Return(_a0 []string) *DBMS_InitCommand_Call
func (*DBMS_InitCommand_Call) Run ¶
func (_c *DBMS_InitCommand_Call) Run(run func()) *DBMS_InitCommand_Call
func (*DBMS_InitCommand_Call) RunAndReturn ¶ added in v1.0.73
func (_c *DBMS_InitCommand_Call) RunAndReturn(run func() []string) *DBMS_InitCommand_Call
type DBMS_PodSpec_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 (_c *DBMS_PodSpec_Call) Return(_a0 podrun.DBMSSpec, _a1 error) *DBMS_PodSpec_Call
func (*DBMS_PodSpec_Call) Run ¶
func (_c *DBMS_PodSpec_Call) Run(run func(_a0 dbms.ClientSettings)) *DBMS_PodSpec_Call
func (*DBMS_PodSpec_Call) RunAndReturn ¶ added in v1.0.73
func (_c *DBMS_PodSpec_Call) RunAndReturn(run func(dbms.ClientSettings) (podrun.DBMSSpec, error)) *DBMS_PodSpec_Call
type DBMS_ShellCommand_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 (_c *DBMS_ShellCommand_Call) Return(_a0 []string) *DBMS_ShellCommand_Call
func (*DBMS_ShellCommand_Call) Run ¶
func (_c *DBMS_ShellCommand_Call) Run(run func()) *DBMS_ShellCommand_Call
func (*DBMS_ShellCommand_Call) RunAndReturn ¶ added in v1.0.73
func (_c *DBMS_ShellCommand_Call) RunAndReturn(run func() []string) *DBMS_ShellCommand_Call
type DBMS_Type_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
func (*DBMS_Type_Call) RunAndReturn ¶ added in v1.0.73
func (_c *DBMS_Type_Call) RunAndReturn(run func() api.DBMS) *DBMS_Type_Call