Documentation ¶
Index ¶
- type Provider
- func (_m *Provider) ClientSettings(_a0 ...provider.ConnectionOverride) (dbms.ClientSettings, error)
- func (_m *Provider) DetectDBMS() (api.DBMS, error)
- func (_m *Provider) EXPECT() *Provider_Expecter
- func (_m *Provider) Initialize() error
- func (_m *Provider) Initialized() (bool, error)
- func (_m *Provider) PodSpec(_a0 ...provider.ConnectionOverride) (podrun.ProviderSpec, error)
- type Provider_ClientSettings_Call
- type Provider_DetectDBMS_Call
- type Provider_Expecter
- func (_e *Provider_Expecter) ClientSettings(_a0 ...interface{}) *Provider_ClientSettings_Call
- func (_e *Provider_Expecter) DetectDBMS() *Provider_DetectDBMS_Call
- func (_e *Provider_Expecter) Initialize() *Provider_Initialize_Call
- func (_e *Provider_Expecter) Initialized() *Provider_Initialized_Call
- func (_e *Provider_Expecter) PodSpec(_a0 ...interface{}) *Provider_PodSpec_Call
- type Provider_Initialize_Call
- type Provider_Initialized_Call
- type Provider_PodSpec_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func NewProvider ¶
func NewProvider(t mockConstructorTestingTNewProvider) *Provider
NewProvider creates a new instance of Provider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Provider) ClientSettings ¶
func (_m *Provider) ClientSettings(_a0 ...provider.ConnectionOverride) (dbms.ClientSettings, error)
ClientSettings provides a mock function with given fields: _a0
func (*Provider) DetectDBMS ¶
DetectDBMS provides a mock function with given fields:
func (*Provider) EXPECT ¶
func (_m *Provider) EXPECT() *Provider_Expecter
func (*Provider) Initialize ¶
Initialize provides a mock function with given fields:
func (*Provider) Initialized ¶
Initialized provides a mock function with given fields:
func (*Provider) PodSpec ¶
func (_m *Provider) PodSpec(_a0 ...provider.ConnectionOverride) (podrun.ProviderSpec, error)
PodSpec provides a mock function with given fields: _a0
type Provider_ClientSettings_Call ¶
Provider_ClientSettings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ClientSettings'
func (*Provider_ClientSettings_Call) Return ¶
func (_c *Provider_ClientSettings_Call) Return(_a0 dbms.ClientSettings, _a1 error) *Provider_ClientSettings_Call
func (*Provider_ClientSettings_Call) Run ¶
func (_c *Provider_ClientSettings_Call) Run(run func(_a0 ...provider.ConnectionOverride)) *Provider_ClientSettings_Call
type Provider_DetectDBMS_Call ¶
Provider_DetectDBMS_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DetectDBMS'
func (*Provider_DetectDBMS_Call) Return ¶
func (_c *Provider_DetectDBMS_Call) Return(_a0 api.DBMS, _a1 error) *Provider_DetectDBMS_Call
func (*Provider_DetectDBMS_Call) Run ¶
func (_c *Provider_DetectDBMS_Call) Run(run func()) *Provider_DetectDBMS_Call
type Provider_Expecter ¶
type Provider_Expecter struct {
// contains filtered or unexported fields
}
func (*Provider_Expecter) ClientSettings ¶
func (_e *Provider_Expecter) ClientSettings(_a0 ...interface{}) *Provider_ClientSettings_Call
ClientSettings is a helper method to define mock.On call
- _a0 ...provider.ConnectionOverride
func (*Provider_Expecter) DetectDBMS ¶
func (_e *Provider_Expecter) DetectDBMS() *Provider_DetectDBMS_Call
DetectDBMS is a helper method to define mock.On call
func (*Provider_Expecter) Initialize ¶
func (_e *Provider_Expecter) Initialize() *Provider_Initialize_Call
Initialize is a helper method to define mock.On call
func (*Provider_Expecter) Initialized ¶
func (_e *Provider_Expecter) Initialized() *Provider_Initialized_Call
Initialized is a helper method to define mock.On call
func (*Provider_Expecter) PodSpec ¶
func (_e *Provider_Expecter) PodSpec(_a0 ...interface{}) *Provider_PodSpec_Call
PodSpec is a helper method to define mock.On call
- _a0 ...provider.ConnectionOverride
type Provider_Initialize_Call ¶
Provider_Initialize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialize'
func (*Provider_Initialize_Call) Return ¶
func (_c *Provider_Initialize_Call) Return(_a0 error) *Provider_Initialize_Call
func (*Provider_Initialize_Call) Run ¶
func (_c *Provider_Initialize_Call) Run(run func()) *Provider_Initialize_Call
type Provider_Initialized_Call ¶
Provider_Initialized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialized'
func (*Provider_Initialized_Call) Return ¶
func (_c *Provider_Initialized_Call) Return(_a0 bool, _a1 error) *Provider_Initialized_Call
func (*Provider_Initialized_Call) Run ¶
func (_c *Provider_Initialized_Call) Run(run func()) *Provider_Initialized_Call
type Provider_PodSpec_Call ¶
Provider_PodSpec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PodSpec'
func (*Provider_PodSpec_Call) Return ¶
func (_c *Provider_PodSpec_Call) Return(_a0 podrun.ProviderSpec, _a1 error) *Provider_PodSpec_Call
func (*Provider_PodSpec_Call) Run ¶
func (_c *Provider_PodSpec_Call) Run(run func(_a0 ...provider.ConnectionOverride)) *Provider_PodSpec_Call