mock_infrastructure

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_infrastructure is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSlackClient

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

MockSlackClient is a mock of SlackClient interface

func NewMockSlackClient

func NewMockSlackClient(ctrl *gomock.Controller) *MockSlackClient

NewMockSlackClient creates a new mock instance

func (*MockSlackClient) EXPECT

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

func (*MockSlackClient) Send

func (m *MockSlackClient) Send(arg0 context.Context, arg1 string, arg2 slack.Message) error

Send mocks base method

type MockSlackClientMockRecorder

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

MockSlackClientMockRecorder is the mock recorder for MockSlackClient

func (*MockSlackClientMockRecorder) Send

func (mr *MockSlackClientMockRecorder) Send(arg0, arg1, arg2 interface{}) *gomock.Call

Send indicates an expected call of Send

type MockWeatherClient

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

MockWeatherClient is a mock of WeatherClient interface

func NewMockWeatherClient

func NewMockWeatherClient(ctrl *gomock.Controller) *MockWeatherClient

NewMockWeatherClient creates a new mock instance

func (*MockWeatherClient) EXPECT

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

func (*MockWeatherClient) Get

func (m *MockWeatherClient) Get(arg0 context.Context, arg1 string, arg2 weather.Request) ([]weather.Weather, error)

Get mocks base method

type MockWeatherClientMockRecorder

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

MockWeatherClientMockRecorder is the mock recorder for MockWeatherClient

func (*MockWeatherClientMockRecorder) Get

func (mr *MockWeatherClientMockRecorder) Get(arg0, arg1, arg2 interface{}) *gomock.Call

Get indicates an expected call of Get

Jump to

Keyboard shortcuts

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