mockserver

package
Version: v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2021 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mockserver is a generated GoMock package.

Package mockserver 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) Addr

func (m *MockConfig) Addr() string

Addr mocks base method.

func (*MockConfig) CACert

func (m *MockConfig) CACert() string

CACert mocks base method.

func (*MockConfig) Cert

func (m *MockConfig) Cert() string

Cert mocks base method.

func (*MockConfig) EXPECT

func (m *MockConfig) EXPECT() *MockConfigMockRecorder

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

func (*MockConfig) Key

func (m *MockConfig) Key() string

Key mocks base method.

type MockConfigMockRecorder

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

MockConfigMockRecorder is the mock recorder for MockConfig.

func (*MockConfigMockRecorder) Addr

func (mr *MockConfigMockRecorder) Addr() *gomock.Call

Addr indicates an expected call of Addr.

func (*MockConfigMockRecorder) CACert

func (mr *MockConfigMockRecorder) CACert() *gomock.Call

CACert indicates an expected call of CACert.

func (*MockConfigMockRecorder) Cert

func (mr *MockConfigMockRecorder) Cert() *gomock.Call

Cert indicates an expected call of Cert.

func (*MockConfigMockRecorder) Key

func (mr *MockConfigMockRecorder) Key() *gomock.Call

Key indicates an expected call of Key.

type MockServer

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

MockServer is a mock of Server interface.

func NewMockServer

func NewMockServer(ctrl *gomock.Controller) *MockServer

NewMockServer creates a new mock instance.

func (*MockServer) EXPECT

func (m *MockServer) EXPECT() *MockServerMockRecorder

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

func (*MockServer) Serve

func (m *MockServer) Serve(arg0 chan<- error)

Serve mocks base method.

func (*MockServer) Stop

func (m *MockServer) Stop()

Stop mocks base method.

type MockServerMockRecorder

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

MockServerMockRecorder is the mock recorder for MockServer.

func (*MockServerMockRecorder) Serve

func (mr *MockServerMockRecorder) Serve(arg0 interface{}) *gomock.Call

Serve indicates an expected call of Serve.

func (*MockServerMockRecorder) Stop

func (mr *MockServerMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

Jump to

Keyboard shortcuts

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