mocks

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

mocks package contains mocked implementations of interfaces generated with github.com/golang/mock/mockgen for use in unit tests. See go generate directives in `gen.go`. To regenerate run `go generate ./...`.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockedClient

type MockedClient struct {
	// contains filtered or unexported fields
}

MockedClient is a mock of Port interface

func NewMockedClient

func NewMockedClient(ctrl *gomock.Controller) *MockedClient

NewMockedClient creates a new mock instance

func (*MockedClient) Add

func (m *MockedClient) Add(context context.Context, request *heartbeat.AddRequest) (*heartbeat.AddResult, error)

Add mocks base method

func (*MockedClient) Delete

func (m *MockedClient) Delete(context context.Context, heartbeatName string) (*heartbeat.DeleteResult, error)

Delete mocks base method

func (*MockedClient) Disable

func (m *MockedClient) Disable(context context.Context, heartbeatName string) (*heartbeat.HeartbeatInfo, error)

Disable mocks base method

func (*MockedClient) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockedClient) Enable

func (m *MockedClient) Enable(context context.Context, heartbeatName string) (*heartbeat.HeartbeatInfo, error)

Enable mocks base method

func (*MockedClient) Get

func (m *MockedClient) Get(context context.Context, heartbeatName string) (*heartbeat.GetResult, error)

Get mocks base method

func (*MockedClient) List

func (m *MockedClient) List(context context.Context) (*heartbeat.ListResult, error)

List mocks base method

func (*MockedClient) Ping

func (m *MockedClient) Ping(context context.Context, heartbeatName string) (*heartbeat.PingResult, error)

Ping mocks base method

func (*MockedClient) Update

Update mocks base method

type MockedClientMockRecorder

type MockedClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockedClientMockRecorder is the mock recorder for MockedClient

func (*MockedClientMockRecorder) Add

func (mr *MockedClientMockRecorder) Add(context, request interface{}) *gomock.Call

Add indicates an expected call of Add

func (*MockedClientMockRecorder) Delete

func (mr *MockedClientMockRecorder) Delete(context, heartbeatName interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockedClientMockRecorder) Disable

func (mr *MockedClientMockRecorder) Disable(context, heartbeatName interface{}) *gomock.Call

Disable indicates an expected call of Disable

func (*MockedClientMockRecorder) Enable

func (mr *MockedClientMockRecorder) Enable(context, heartbeatName interface{}) *gomock.Call

Enable indicates an expected call of Enable

func (*MockedClientMockRecorder) Get

func (mr *MockedClientMockRecorder) Get(context, heartbeatName interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockedClientMockRecorder) List

func (mr *MockedClientMockRecorder) List(context interface{}) *gomock.Call

List indicates an expected call of List

func (*MockedClientMockRecorder) Ping

func (mr *MockedClientMockRecorder) Ping(context, heartbeatName interface{}) *gomock.Call

Ping indicates an expected call of Ping

func (*MockedClientMockRecorder) Update

func (mr *MockedClientMockRecorder) Update(context, request 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