Documentation ¶
Index ¶
- type MockProvider
- type MockProvider_Expecter
- type MockProvider_GetValue_Call
- func (_c *MockProvider_GetValue_Call) Return(_a0 string, _a1 error) *MockProvider_GetValue_Call
- func (_c *MockProvider_GetValue_Call) Run(run func(fieldPath []string)) *MockProvider_GetValue_Call
- func (_c *MockProvider_GetValue_Call) RunAndReturn(run func([]string) (string, error)) *MockProvider_GetValue_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockProvider ¶
MockProvider is an autogenerated mock type for the Provider type
func NewMockProvider ¶
func NewMockProvider(t interface { mock.TestingT Cleanup(func()) }) *MockProvider
NewMockProvider creates a new instance of MockProvider. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockProvider) EXPECT ¶
func (_m *MockProvider) EXPECT() *MockProvider_Expecter
type MockProvider_Expecter ¶
type MockProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*MockProvider_Expecter) GetValue ¶
func (_e *MockProvider_Expecter) GetValue(fieldPath interface{}) *MockProvider_GetValue_Call
GetValue is a helper method to define mock.On call
- fieldPath []string
type MockProvider_GetValue_Call ¶
MockProvider_GetValue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetValue'
func (*MockProvider_GetValue_Call) Return ¶
func (_c *MockProvider_GetValue_Call) Return(_a0 string, _a1 error) *MockProvider_GetValue_Call
func (*MockProvider_GetValue_Call) Run ¶
func (_c *MockProvider_GetValue_Call) Run(run func(fieldPath []string)) *MockProvider_GetValue_Call
func (*MockProvider_GetValue_Call) RunAndReturn ¶
func (_c *MockProvider_GetValue_Call) RunAndReturn(run func([]string) (string, error)) *MockProvider_GetValue_Call
Click to show internal directories.
Click to hide internal directories.