mocks

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfig

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

MockConfig is a mock of Config interface

func NewMockConfig

func NewMockConfig(ctrl *gomock.Controller) *MockConfig

NewMockConfig creates a new mock instance

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) GetBytes

func (m *MockConfig) GetBytes(arg0 string) []byte

GetBytes mocks base method

func (*MockConfig) GetInt

func (m *MockConfig) GetInt(arg0 string) int

GetInt mocks base method

func (*MockConfig) GetSite

func (m *MockConfig) GetSite(arg0 string) (map[string]string, error)

GetSite mocks base method

func (*MockConfig) GetSiteOption

func (m *MockConfig) GetSiteOption(arg0, arg1 string) (string, bool, error)

GetSiteOption mocks base method

func (*MockConfig) GetString

func (m *MockConfig) GetString(arg0 string) string

GetString mocks base method

func (*MockConfig) Set

func (m *MockConfig) Set(arg0, arg1 interface{}) error

Set mocks base method

func (*MockConfig) SetSiteOption

func (m *MockConfig) SetSiteOption(arg0, arg1, arg2 string) error

SetSiteOption mocks base method

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig

func (*MockConfigMockRecorder) GetBytes

func (mr *MockConfigMockRecorder) GetBytes(arg0 interface{}) *gomock.Call

GetBytes indicates an expected call of GetBytes

func (*MockConfigMockRecorder) GetInt

func (mr *MockConfigMockRecorder) GetInt(arg0 interface{}) *gomock.Call

GetInt indicates an expected call of GetInt

func (*MockConfigMockRecorder) GetSite

func (mr *MockConfigMockRecorder) GetSite(arg0 interface{}) *gomock.Call

GetSite indicates an expected call of GetSite

func (*MockConfigMockRecorder) GetSiteOption

func (mr *MockConfigMockRecorder) GetSiteOption(arg0, arg1 interface{}) *gomock.Call

GetSiteOption indicates an expected call of GetSiteOption

func (*MockConfigMockRecorder) GetString

func (mr *MockConfigMockRecorder) GetString(arg0 interface{}) *gomock.Call

GetString indicates an expected call of GetString

func (*MockConfigMockRecorder) Set

func (mr *MockConfigMockRecorder) Set(arg0, arg1 interface{}) *gomock.Call

Set indicates an expected call of Set

func (*MockConfigMockRecorder) SetSiteOption

func (mr *MockConfigMockRecorder) SetSiteOption(arg0, arg1, arg2 interface{}) *gomock.Call

SetSiteOption indicates an expected call of SetSiteOption

Jump to

Keyboard shortcuts

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