mock_bot

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

Package mock_bot is a generated GoMock package.

Package mock_bot is a generated GoMock package.

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 MockAdmin

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

MockAdmin is a mock of Admin interface.

func NewMockAdmin

func NewMockAdmin(ctrl *gomock.Controller) *MockAdmin

NewMockAdmin creates a new mock instance.

func (*MockAdmin) EXPECT

func (m *MockAdmin) EXPECT() *MockAdminMockRecorder

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

func (*MockAdmin) IsUserAdmin

func (m *MockAdmin) IsUserAdmin(arg0 string) bool

IsUserAdmin mocks base method.

type MockAdminMockRecorder

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

MockAdminMockRecorder is the mock recorder for MockAdmin.

func (*MockAdminMockRecorder) IsUserAdmin

func (mr *MockAdminMockRecorder) IsUserAdmin(arg0 interface{}) *gomock.Call

IsUserAdmin indicates an expected call of IsUserAdmin.

type MockLogger

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

MockLogger is a mock of Logger interface.

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance.

func (*MockLogger) Debugf

func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})

Debugf mocks base method.

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Errorf

func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})

Errorf mocks base method.

func (*MockLogger) Infof

func (m *MockLogger) Infof(arg0 string, arg1 ...interface{})

Infof mocks base method.

func (*MockLogger) Timed

func (m *MockLogger) Timed() bot.Logger

Timed mocks base method.

func (*MockLogger) Warnf

func (m *MockLogger) Warnf(arg0 string, arg1 ...interface{})

Warnf mocks base method.

func (*MockLogger) With

func (m *MockLogger) With(arg0 bot.LogContext) bot.Logger

With mocks base method.

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger.

func (*MockLoggerMockRecorder) Debugf

func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf.

func (*MockLoggerMockRecorder) Errorf

func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf.

func (*MockLoggerMockRecorder) Infof

func (mr *MockLoggerMockRecorder) Infof(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Infof indicates an expected call of Infof.

func (*MockLoggerMockRecorder) Timed

func (mr *MockLoggerMockRecorder) Timed() *gomock.Call

Timed indicates an expected call of Timed.

func (*MockLoggerMockRecorder) Warnf

func (mr *MockLoggerMockRecorder) Warnf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Warnf indicates an expected call of Warnf.

func (*MockLoggerMockRecorder) With

func (mr *MockLoggerMockRecorder) With(arg0 interface{}) *gomock.Call

With indicates an expected call of With.

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, arg1 string, arg2 ...interface{}) (string, error)

DM mocks base method.

func (*MockPoster) DMUpdate

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

DMUpdate mocks base method.

func (*MockPoster) DMWithAttachments

func (m *MockPoster) DMWithAttachments(arg0 string, arg1 ...*model.SlackAttachment) (string, error)

DMWithAttachments mocks base method.

func (*MockPoster) DeletePost

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

DeletePost 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) Ephemeral

func (m *MockPoster) Ephemeral(arg0, arg1, arg2 string, arg3 ...interface{})

Ephemeral mocks base method.

func (*MockPoster) UpdatePost

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

UpdatePost 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{}, arg2 ...interface{}) *gomock.Call

DM indicates an expected call of DM.

func (*MockPosterMockRecorder) DMUpdate

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

DMUpdate indicates an expected call of DMUpdate.

func (*MockPosterMockRecorder) DMWithAttachments

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

DMWithAttachments indicates an expected call of DMWithAttachments.

func (*MockPosterMockRecorder) DeletePost

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

DeletePost indicates an expected call of DeletePost.

func (*MockPosterMockRecorder) Ephemeral

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

Ephemeral indicates an expected call of Ephemeral.

func (*MockPosterMockRecorder) UpdatePost

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

UpdatePost indicates an expected call of UpdatePost.

Jump to

Keyboard shortcuts

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