mock_bot

package
v1.35.2 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_bot is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPoster

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

MockPoster is a mock of Poster interface

func NewMockPoster

func NewMockPoster(ctrl *gomock.Controller) *MockPoster

NewMockPoster creates a new mock instance

func (*MockPoster) DM

func (m *MockPoster) DM(arg0 string, arg1 *model.Post) error

DM mocks base method

func (*MockPoster) EXPECT

func (m *MockPoster) EXPECT() *MockPosterMockRecorder

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

func (*MockPoster) EphemeralPost

func (m *MockPoster) EphemeralPost(arg0, arg1 string, arg2 *model.Post)

EphemeralPost mocks base method

func (*MockPoster) EphemeralPostWithAttachments

func (m *MockPoster) EphemeralPostWithAttachments(arg0, arg1, arg2 string, arg3 []*model.SlackAttachment, arg4 string, arg5 ...interface{})

EphemeralPostWithAttachments mocks base method

func (*MockPoster) IsFromPoster added in v1.26.0

func (m *MockPoster) IsFromPoster(arg0 *model.Post) bool

IsFromPoster mocks base method

func (*MockPoster) NotifyAdmins

func (m *MockPoster) NotifyAdmins(arg0, arg1 string, arg2 bool) error

NotifyAdmins mocks base method

func (*MockPoster) Post

func (m *MockPoster) Post(arg0 *model.Post) error

Post mocks base method

func (*MockPoster) PostCustomMessageWithAttachments

func (m *MockPoster) PostCustomMessageWithAttachments(arg0, arg1 string, arg2 []*model.SlackAttachment, arg3 string, arg4 ...interface{}) (*model.Post, error)

PostCustomMessageWithAttachments mocks base method

func (*MockPoster) PostMessage

func (m *MockPoster) PostMessage(arg0, arg1 string, arg2 ...interface{}) (*model.Post, error)

PostMessage mocks base method

func (*MockPoster) PostMessageToThread

func (m *MockPoster) PostMessageToThread(arg0 string, arg1 *model.Post) error

PostMessageToThread mocks base method

func (*MockPoster) PostMessageWithAttachments

func (m *MockPoster) PostMessageWithAttachments(arg0 string, arg1 []*model.SlackAttachment, arg2 string, arg3 ...interface{}) (*model.Post, error)

PostMessageWithAttachments mocks base method

func (*MockPoster) PromptForFeedback

func (m *MockPoster) PromptForFeedback(arg0 string) error

PromptForFeedback mocks base method

func (*MockPoster) PublishWebsocketEventToChannel

func (m *MockPoster) PublishWebsocketEventToChannel(arg0 string, arg1 interface{}, arg2 string)

PublishWebsocketEventToChannel mocks base method

func (*MockPoster) PublishWebsocketEventToTeam

func (m *MockPoster) PublishWebsocketEventToTeam(arg0 string, arg1 interface{}, arg2 string)

PublishWebsocketEventToTeam mocks base method

func (*MockPoster) PublishWebsocketEventToUser

func (m *MockPoster) PublishWebsocketEventToUser(arg0 string, arg1 interface{}, arg2 string)

PublishWebsocketEventToUser mocks base method

func (*MockPoster) SystemEphemeralPost added in v1.26.0

func (m *MockPoster) SystemEphemeralPost(arg0, arg1 string, arg2 *model.Post)

SystemEphemeralPost mocks base method

type MockPosterMockRecorder

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

MockPosterMockRecorder is the mock recorder for MockPoster

func (*MockPosterMockRecorder) DM

func (mr *MockPosterMockRecorder) DM(arg0, arg1 interface{}) *gomock.Call

DM indicates an expected call of DM

func (*MockPosterMockRecorder) EphemeralPost

func (mr *MockPosterMockRecorder) EphemeralPost(arg0, arg1, arg2 interface{}) *gomock.Call

EphemeralPost indicates an expected call of EphemeralPost

func (*MockPosterMockRecorder) EphemeralPostWithAttachments

func (mr *MockPosterMockRecorder) EphemeralPostWithAttachments(arg0, arg1, arg2, arg3, arg4 interface{}, arg5 ...interface{}) *gomock.Call

EphemeralPostWithAttachments indicates an expected call of EphemeralPostWithAttachments

func (*MockPosterMockRecorder) IsFromPoster added in v1.26.0

func (mr *MockPosterMockRecorder) IsFromPoster(arg0 interface{}) *gomock.Call

IsFromPoster indicates an expected call of IsFromPoster

func (*MockPosterMockRecorder) NotifyAdmins

func (mr *MockPosterMockRecorder) NotifyAdmins(arg0, arg1, arg2 interface{}) *gomock.Call

NotifyAdmins indicates an expected call of NotifyAdmins

func (*MockPosterMockRecorder) Post

func (mr *MockPosterMockRecorder) Post(arg0 interface{}) *gomock.Call

Post indicates an expected call of Post

func (*MockPosterMockRecorder) PostCustomMessageWithAttachments

func (mr *MockPosterMockRecorder) PostCustomMessageWithAttachments(arg0, arg1, arg2, arg3 interface{}, arg4 ...interface{}) *gomock.Call

PostCustomMessageWithAttachments indicates an expected call of PostCustomMessageWithAttachments

func (*MockPosterMockRecorder) PostMessage

func (mr *MockPosterMockRecorder) PostMessage(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

PostMessage indicates an expected call of PostMessage

func (*MockPosterMockRecorder) PostMessageToThread

func (mr *MockPosterMockRecorder) PostMessageToThread(arg0, arg1 interface{}) *gomock.Call

PostMessageToThread indicates an expected call of PostMessageToThread

func (*MockPosterMockRecorder) PostMessageWithAttachments

func (mr *MockPosterMockRecorder) PostMessageWithAttachments(arg0, arg1, arg2 interface{}, arg3 ...interface{}) *gomock.Call

PostMessageWithAttachments indicates an expected call of PostMessageWithAttachments

func (*MockPosterMockRecorder) PromptForFeedback

func (mr *MockPosterMockRecorder) PromptForFeedback(arg0 interface{}) *gomock.Call

PromptForFeedback indicates an expected call of PromptForFeedback

func (*MockPosterMockRecorder) PublishWebsocketEventToChannel

func (mr *MockPosterMockRecorder) PublishWebsocketEventToChannel(arg0, arg1, arg2 interface{}) *gomock.Call

PublishWebsocketEventToChannel indicates an expected call of PublishWebsocketEventToChannel

func (*MockPosterMockRecorder) PublishWebsocketEventToTeam

func (mr *MockPosterMockRecorder) PublishWebsocketEventToTeam(arg0, arg1, arg2 interface{}) *gomock.Call

PublishWebsocketEventToTeam indicates an expected call of PublishWebsocketEventToTeam

func (*MockPosterMockRecorder) PublishWebsocketEventToUser

func (mr *MockPosterMockRecorder) PublishWebsocketEventToUser(arg0, arg1, arg2 interface{}) *gomock.Call

PublishWebsocketEventToUser indicates an expected call of PublishWebsocketEventToUser

func (*MockPosterMockRecorder) SystemEphemeralPost added in v1.26.0

func (mr *MockPosterMockRecorder) SystemEphemeralPost(arg0, arg1, arg2 interface{}) *gomock.Call

SystemEphemeralPost indicates an expected call of SystemEphemeralPost

Jump to

Keyboard shortcuts

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