mocks

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2023 License: BSD-3-Clause Imports: 4 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 MockHostManager

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

MockHostManager is a mock of HostManager interface.

func NewMockHostManager

func NewMockHostManager(ctrl *gomock.Controller) *MockHostManager

NewMockHostManager creates a new mock instance.

func (*MockHostManager) Add

func (m *MockHostManager) Add(arg0 string, arg1 *url.URL) error

Add mocks base method.

func (*MockHostManager) EXPECT

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

func (*MockHostManager) Exists added in v0.0.6

func (m *MockHostManager) Exists(arg0 string) bool

Exists mocks base method.

func (*MockHostManager) List

func (m *MockHostManager) List() []vhoster.Host

List mocks base method.

func (*MockHostManager) Remove

func (m *MockHostManager) Remove(arg0 string) error

Remove mocks base method.

func (*MockHostManager) Replace added in v0.0.4

func (m *MockHostManager) Replace(arg0 string, arg1 *url.URL) error

Replace mocks base method.

type MockHostManagerMockRecorder

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

MockHostManagerMockRecorder is the mock recorder for MockHostManager.

func (*MockHostManagerMockRecorder) Add

func (mr *MockHostManagerMockRecorder) Add(arg0, arg1 interface{}) *gomock.Call

Add indicates an expected call of Add.

func (*MockHostManagerMockRecorder) Exists added in v0.0.6

func (mr *MockHostManagerMockRecorder) Exists(arg0 interface{}) *gomock.Call

Exists indicates an expected call of Exists.

func (*MockHostManagerMockRecorder) List

List indicates an expected call of List.

func (*MockHostManagerMockRecorder) Remove

func (mr *MockHostManagerMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockHostManagerMockRecorder) Replace added in v0.0.4

func (mr *MockHostManagerMockRecorder) Replace(arg0, arg1 interface{}) *gomock.Call

Replace indicates an expected call of Replace.

Jump to

Keyboard shortcuts

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