Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockInterface
- func (m *MockInterface) Add(arg0 *provider.Item) error
- func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
- func (m *MockInterface) Get(arg0 provider.GetOptions) (*provider.Item, error)
- func (m *MockInterface) GetName() string
- func (m *MockInterface) List(arg0 provider.ListOptions) ([]*provider.Item, error)
- type MockInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockInterface ¶
type MockInterface struct {
// contains filtered or unexported fields
}
MockInterface is a mock of Interface interface.
func NewMockInterface ¶
func NewMockInterface(ctrl *gomock.Controller) *MockInterface
NewMockInterface creates a new mock instance.
func (*MockInterface) Add ¶
func (m *MockInterface) Add(arg0 *provider.Item) error
Add mocks base method.
func (*MockInterface) EXPECT ¶
func (m *MockInterface) EXPECT() *MockInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInterface) Get ¶
func (m *MockInterface) Get(arg0 provider.GetOptions) (*provider.Item, error)
Get mocks base method.
func (*MockInterface) List ¶
func (m *MockInterface) List(arg0 provider.ListOptions) ([]*provider.Item, error)
List mocks base method.
type MockInterfaceMockRecorder ¶
type MockInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockInterfaceMockRecorder is the mock recorder for MockInterface.
func (*MockInterfaceMockRecorder) Add ¶
func (mr *MockInterfaceMockRecorder) Add(arg0 interface{}) *gomock.Call
Add indicates an expected call of Add.
func (*MockInterfaceMockRecorder) Get ¶
func (mr *MockInterfaceMockRecorder) Get(arg0 interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockInterfaceMockRecorder) GetName ¶
func (mr *MockInterfaceMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockInterfaceMockRecorder) List ¶
func (mr *MockInterfaceMockRecorder) List(arg0 interface{}) *gomock.Call
List indicates an expected call of List.
Click to show internal directories.
Click to hide internal directories.