mock

package
v0.0.0-...-d1f9358 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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 MockAnonymous

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

MockAnonymous is a mock of Anonymous interface

func NewMockAnonymous

func NewMockAnonymous(ctrl *gomock.Controller) *MockAnonymous

NewMockAnonymous creates a new mock instance

func (*MockAnonymous) EXPECT

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

func (*MockAnonymous) GetActivePlugins

func (m *MockAnonymous) GetActivePlugins() ([]anonymous.PluginIdentifier, error)

GetActivePlugins mocks base method

func (*MockAnonymous) GetConfiguration

func (m *MockAnonymous) GetConfiguration() *config.Config

GetConfiguration mocks base method

func (*MockAnonymous) GetPublicKey

func (m *MockAnonymous) GetPublicKey(arg0 string) (crypto.PublicKey, error)

GetPublicKey mocks base method

func (*MockAnonymous) GetUsersInChannel

func (m *MockAnonymous) GetUsersInChannel(arg0, arg1 string, arg2, arg3 int) ([]*model.User, error)

GetUsersInChannel mocks base method

func (*MockAnonymous) IsEncryptionEnabledForChannel

func (m *MockAnonymous) IsEncryptionEnabledForChannel(arg0, arg1 string) bool

IsEncryptionEnabledForChannel mocks base method

func (*MockAnonymous) KVDelete

func (m *MockAnonymous) KVDelete(arg0 string) *model.AppError

KVDelete mocks base method

func (*MockAnonymous) KVGet

func (m *MockAnonymous) KVGet(arg0 string) ([]byte, *model.AppError)

KVGet mocks base method

func (*MockAnonymous) KVSet

func (m *MockAnonymous) KVSet(arg0 string, arg1 []byte) *model.AppError

KVSet mocks base method

func (*MockAnonymous) PublishWebSocketEvent

func (m *MockAnonymous) PublishWebSocketEvent(arg0 string, arg1 map[string]interface{}, arg2 *model.WebsocketBroadcast)

PublishWebSocketEvent mocks base method

func (*MockAnonymous) SendEphemeralPost

func (m *MockAnonymous) SendEphemeralPost(arg0 string, arg1 *model.Post) *model.Post

SendEphemeralPost mocks base method

func (*MockAnonymous) SetEncryptionStatusForChannel

func (m *MockAnonymous) SetEncryptionStatusForChannel(arg0, arg1 string, arg2 bool) error

SetEncryptionStatusForChannel mocks base method

func (*MockAnonymous) StartPluginChecks

func (m *MockAnonymous) StartPluginChecks() error

StartPluginChecks mocks base method

func (*MockAnonymous) StorePublicKey

func (m *MockAnonymous) StorePublicKey(arg0 string, arg1 crypto.PublicKey) error

StorePublicKey mocks base method

func (*MockAnonymous) UnverifiedPlugins

func (m *MockAnonymous) UnverifiedPlugins() []anonymous.PluginIdentifier

UnverifiedPlugins mocks base method

type MockAnonymousMockRecorder

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

MockAnonymousMockRecorder is the mock recorder for MockAnonymous

func (*MockAnonymousMockRecorder) GetActivePlugins

func (mr *MockAnonymousMockRecorder) GetActivePlugins() *gomock.Call

GetActivePlugins indicates an expected call of GetActivePlugins

func (*MockAnonymousMockRecorder) GetConfiguration

func (mr *MockAnonymousMockRecorder) GetConfiguration() *gomock.Call

GetConfiguration indicates an expected call of GetConfiguration

func (*MockAnonymousMockRecorder) GetPublicKey

func (mr *MockAnonymousMockRecorder) GetPublicKey(arg0 interface{}) *gomock.Call

GetPublicKey indicates an expected call of GetPublicKey

func (*MockAnonymousMockRecorder) GetUsersInChannel

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

GetUsersInChannel indicates an expected call of GetUsersInChannel

func (*MockAnonymousMockRecorder) IsEncryptionEnabledForChannel

func (mr *MockAnonymousMockRecorder) IsEncryptionEnabledForChannel(arg0, arg1 interface{}) *gomock.Call

IsEncryptionEnabledForChannel indicates an expected call of IsEncryptionEnabledForChannel

func (*MockAnonymousMockRecorder) KVDelete

func (mr *MockAnonymousMockRecorder) KVDelete(arg0 interface{}) *gomock.Call

KVDelete indicates an expected call of KVDelete

func (*MockAnonymousMockRecorder) KVGet

func (mr *MockAnonymousMockRecorder) KVGet(arg0 interface{}) *gomock.Call

KVGet indicates an expected call of KVGet

func (*MockAnonymousMockRecorder) KVSet

func (mr *MockAnonymousMockRecorder) KVSet(arg0, arg1 interface{}) *gomock.Call

KVSet indicates an expected call of KVSet

func (*MockAnonymousMockRecorder) PublishWebSocketEvent

func (mr *MockAnonymousMockRecorder) PublishWebSocketEvent(arg0, arg1, arg2 interface{}) *gomock.Call

PublishWebSocketEvent indicates an expected call of PublishWebSocketEvent

func (*MockAnonymousMockRecorder) SendEphemeralPost

func (mr *MockAnonymousMockRecorder) SendEphemeralPost(arg0, arg1 interface{}) *gomock.Call

SendEphemeralPost indicates an expected call of SendEphemeralPost

func (*MockAnonymousMockRecorder) SetEncryptionStatusForChannel

func (mr *MockAnonymousMockRecorder) SetEncryptionStatusForChannel(arg0, arg1, arg2 interface{}) *gomock.Call

SetEncryptionStatusForChannel indicates an expected call of SetEncryptionStatusForChannel

func (*MockAnonymousMockRecorder) StartPluginChecks

func (mr *MockAnonymousMockRecorder) StartPluginChecks() *gomock.Call

StartPluginChecks indicates an expected call of StartPluginChecks

func (*MockAnonymousMockRecorder) StorePublicKey

func (mr *MockAnonymousMockRecorder) StorePublicKey(arg0, arg1 interface{}) *gomock.Call

StorePublicKey indicates an expected call of StorePublicKey

func (*MockAnonymousMockRecorder) UnverifiedPlugins

func (mr *MockAnonymousMockRecorder) UnverifiedPlugins() *gomock.Call

UnverifiedPlugins indicates an expected call of UnverifiedPlugins

Jump to

Keyboard shortcuts

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