mock_dmsclient

package
v0.0.0-...-603c6f4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mock_dmsclient is a generated GoMock package.

Index

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) Create

func (m *MockClient) Create(newSnitch dmsclient.Snitch) (dmsclient.Snitch, error)

Create 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

func (*MockClient) ListAll

func (m *MockClient) ListAll() ([]dmsclient.Snitch, error)

ListAll mocks base method

func (*MockClient) Update

func (m *MockClient) Update(updateSnitch dmsclient.Snitch) (dmsclient.Snitch, error)

Update 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL