Documentation ¶
Overview ¶
Package mock_dmsclient is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CheckIn(s dmsclient.Snitch) error
- func (m *MockClient) Create(newSnitch dmsclient.Snitch) (dmsclient.Snitch, error)
- func (m *MockClient) Delete(snitchToken string) (bool, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) FindSnitchesByName(snitchName string) ([]dmsclient.Snitch, error)
- func (m *MockClient) List(snitchToken string) (dmsclient.Snitch, error)
- func (m *MockClient) ListAll() ([]dmsclient.Snitch, error)
- func (m *MockClient) Update(updateSnitch dmsclient.Snitch) (dmsclient.Snitch, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CheckIn(s interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Create(newSnitch interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) Delete(snitchToken interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) FindSnitchesByName(snitchName interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) List(snitchToken interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAll() *gomock.Call
- func (mr *MockClientMockRecorder) Update(updateSnitch interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) CheckIn ¶
func (m *MockClient) CheckIn(s dmsclient.Snitch) error
CheckIn mocks base method
func (*MockClient) Delete ¶
func (m *MockClient) Delete(snitchToken string) (bool, error)
Delete mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) FindSnitchesByName ¶
func (m *MockClient) FindSnitchesByName(snitchName string) ([]dmsclient.Snitch, error)
FindSnitchesByName mocks base method
func (*MockClient) List ¶
func (m *MockClient) List(snitchToken string) (dmsclient.Snitch, error)
List mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CheckIn ¶
func (mr *MockClientMockRecorder) CheckIn(s interface{}) *gomock.Call
CheckIn indicates an expected call of CheckIn
func (*MockClientMockRecorder) Create ¶
func (mr *MockClientMockRecorder) Create(newSnitch interface{}) *gomock.Call
Create indicates an expected call of Create
func (*MockClientMockRecorder) Delete ¶
func (mr *MockClientMockRecorder) Delete(snitchToken interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockClientMockRecorder) FindSnitchesByName ¶
func (mr *MockClientMockRecorder) FindSnitchesByName(snitchName interface{}) *gomock.Call
FindSnitchesByName indicates an expected call of FindSnitchesByName
func (*MockClientMockRecorder) List ¶
func (mr *MockClientMockRecorder) List(snitchToken interface{}) *gomock.Call
List indicates an expected call of List
func (*MockClientMockRecorder) ListAll ¶
func (mr *MockClientMockRecorder) ListAll() *gomock.Call
ListAll indicates an expected call of ListAll
func (*MockClientMockRecorder) Update ¶
func (mr *MockClientMockRecorder) Update(updateSnitch interface{}) *gomock.Call
Update indicates an expected call of Update