mockslack

package
v0.8.6 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mockslack 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) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) PostMessage

func (m *MockClient) PostMessage(channelID string, options ...slack.MsgOption) (string, string, error)

PostMessage mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) PostMessage

func (mr *MockClientMockRecorder) PostMessage(channelID interface{}, options ...interface{}) *gomock.Call

PostMessage indicates an expected call of PostMessage.

type MockSocketClient

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

MockSocketClient is a mock of SocketClient interface.

func NewMockSocketClient

func NewMockSocketClient(ctrl *gomock.Controller) *MockSocketClient

NewMockSocketClient creates a new mock instance.

func (*MockSocketClient) Ack

func (m *MockSocketClient) Ack(req socketmode.Request, payload ...interface{})

Ack mocks base method.

func (*MockSocketClient) EXPECT

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

func (*MockSocketClient) Run

func (m *MockSocketClient) Run() error

Run mocks base method.

type MockSocketClientMockRecorder

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

MockSocketClientMockRecorder is the mock recorder for MockSocketClient.

func (*MockSocketClientMockRecorder) Ack

func (mr *MockSocketClientMockRecorder) Ack(req interface{}, payload ...interface{}) *gomock.Call

Ack indicates an expected call of Ack.

func (*MockSocketClientMockRecorder) Run

Run indicates an expected call of Run.

Jump to

Keyboard shortcuts

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