mocks

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: AGPL-3.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ServerIface

type ServerIface struct {
	mock.Mock
}

ServerIface is an autogenerated mock type for the ServerIface type

func (*ServerIface) Config

func (_m *ServerIface) Config() *model.Config

Config provides a mock function with given fields:

func (*ServerIface) GetPluginsEnvironment

func (_m *ServerIface) GetPluginsEnvironment() *plugin.Environment

GetPluginsEnvironment provides a mock function with given fields:

func (*ServerIface) GetRoleByName

func (_m *ServerIface) GetRoleByName(_a0 context.Context, _a1 string) (*model.Role, *model.AppError)

GetRoleByName provides a mock function with given fields: _a0, _a1

func (*ServerIface) GetSchemes

func (_m *ServerIface) GetSchemes(_a0 string, _a1 int, _a2 int) ([]*model.Scheme, *model.AppError)

GetSchemes provides a mock function with given fields: _a0, _a1, _a2

func (*ServerIface) HTTPService

func (_m *ServerIface) HTTPService() httpservice.HTTPService

HTTPService provides a mock function with given fields:

func (*ServerIface) IsLeader

func (_m *ServerIface) IsLeader() bool

IsLeader provides a mock function with given fields:

func (*ServerIface) License

func (_m *ServerIface) License() *model.License

License provides a mock function with given fields:

Jump to

Keyboard shortcuts

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