mock

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Package mock 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) PostMessage

func (m *MockSlackClient) PostMessage(ctx context.Context, channel string, msg slack.Msg) error

PostMessage mocks base method.

func (*MockSlackClient) PostMessageToThread

func (m *MockSlackClient) PostMessageToThread(ctx context.Context, channel, ts string, msg slack.Msg) error

PostMessageToThread mocks base method.

func (*MockSlackClient) UpdateMessage

func (m *MockSlackClient) UpdateMessage(ctx context.Context, channel, ts string, msg slack.Msg) error

UpdateMessage mocks base method.

type MockSlackClientFactory

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

MockSlackClientFactory is a mock of SlackClientFactory interface.

func NewMockSlackClientFactory

func NewMockSlackClientFactory(ctrl *gomock.Controller) *MockSlackClientFactory

NewMockSlackClientFactory creates a new mock instance.

func (*MockSlackClientFactory) EXPECT

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

func (*MockSlackClientFactory) New

New mocks base method.

type MockSlackClientFactoryMockRecorder

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

MockSlackClientFactoryMockRecorder is the mock recorder for MockSlackClientFactory.

func (*MockSlackClientFactoryMockRecorder) New

func (mr *MockSlackClientFactoryMockRecorder) New(client interface{}) *gomock.Call

New indicates an expected call of New.

type MockSlackClientMockRecorder

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

MockSlackClientMockRecorder is the mock recorder for MockSlackClient.

func (*MockSlackClientMockRecorder) PostMessage

func (mr *MockSlackClientMockRecorder) PostMessage(ctx, channel, msg interface{}) *gomock.Call

PostMessage indicates an expected call of PostMessage.

func (*MockSlackClientMockRecorder) PostMessageToThread

func (mr *MockSlackClientMockRecorder) PostMessageToThread(ctx, channel, ts, msg interface{}) *gomock.Call

PostMessageToThread indicates an expected call of PostMessageToThread.

func (*MockSlackClientMockRecorder) UpdateMessage

func (mr *MockSlackClientMockRecorder) UpdateMessage(ctx, channel, ts, msg interface{}) *gomock.Call

UpdateMessage indicates an expected call of UpdateMessage.

Jump to

Keyboard shortcuts

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