mock

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

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 MockExecutor

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

MockExecutor is a mock of Executor interface.

func NewMockExecutor

func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor

NewMockExecutor creates a new mock instance.

func (*MockExecutor) EXPECT

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

func (*MockExecutor) GetCmd

func (m *MockExecutor) GetCmd() (string, []string)

GetCmd mocks base method.

func (*MockExecutor) Run

func (m *MockExecutor) Run(args ...string) (string, string, error)

Run mocks base method.

func (*MockExecutor) RunCombined

func (m *MockExecutor) RunCombined(args ...string) (string, error)

RunCombined mocks base method.

type MockExecutorMockRecorder

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

MockExecutorMockRecorder is the mock recorder for MockExecutor.

func (*MockExecutorMockRecorder) GetCmd

func (mr *MockExecutorMockRecorder) GetCmd() *gomock.Call

GetCmd indicates an expected call of GetCmd.

func (*MockExecutorMockRecorder) Run

func (mr *MockExecutorMockRecorder) Run(args ...interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockExecutorMockRecorder) RunCombined

func (mr *MockExecutorMockRecorder) RunCombined(args ...interface{}) *gomock.Call

RunCombined indicates an expected call of RunCombined.

type MockUnsafeWireGuardServiceServer added in v1.3.0

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

MockUnsafeWireGuardServiceServer is a mock of UnsafeWireGuardServiceServer interface.

func NewMockUnsafeWireGuardServiceServer added in v1.3.0

func NewMockUnsafeWireGuardServiceServer(ctrl *gomock.Controller) *MockUnsafeWireGuardServiceServer

NewMockUnsafeWireGuardServiceServer creates a new mock instance.

func (*MockUnsafeWireGuardServiceServer) EXPECT added in v1.3.0

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

type MockUnsafeWireGuardServiceServerMockRecorder added in v1.3.0

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

MockUnsafeWireGuardServiceServerMockRecorder is the mock recorder for MockUnsafeWireGuardServiceServer.

type MockWireGuardServiceClient added in v1.3.0

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

MockWireGuardServiceClient is a mock of WireGuardServiceClient interface.

func NewMockWireGuardServiceClient added in v1.3.0

func NewMockWireGuardServiceClient(ctrl *gomock.Controller) *MockWireGuardServiceClient

NewMockWireGuardServiceClient creates a new mock instance.

func (*MockWireGuardServiceClient) Dump added in v1.3.0

Dump mocks base method.

func (*MockWireGuardServiceClient) EXPECT added in v1.3.0

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

func (*MockWireGuardServiceClient) Ping added in v1.3.0

Ping mocks base method.

type MockWireGuardServiceClientMockRecorder added in v1.3.0

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

MockWireGuardServiceClientMockRecorder is the mock recorder for MockWireGuardServiceClient.

func (*MockWireGuardServiceClientMockRecorder) Dump added in v1.3.0

func (mr *MockWireGuardServiceClientMockRecorder) Dump(ctx, in interface{}, opts ...interface{}) *gomock.Call

Dump indicates an expected call of Dump.

func (*MockWireGuardServiceClientMockRecorder) Ping added in v1.3.0

func (mr *MockWireGuardServiceClientMockRecorder) Ping(ctx, in interface{}, opts ...interface{}) *gomock.Call

Ping indicates an expected call of Ping.

type MockWireGuardServiceServer added in v1.3.0

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

MockWireGuardServiceServer is a mock of WireGuardServiceServer interface.

func NewMockWireGuardServiceServer added in v1.3.0

func NewMockWireGuardServiceServer(ctrl *gomock.Controller) *MockWireGuardServiceServer

NewMockWireGuardServiceServer creates a new mock instance.

func (*MockWireGuardServiceServer) Dump added in v1.3.0

Dump mocks base method.

func (*MockWireGuardServiceServer) EXPECT added in v1.3.0

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

func (*MockWireGuardServiceServer) Ping added in v1.3.0

Ping mocks base method.

type MockWireGuardServiceServerMockRecorder added in v1.3.0

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

MockWireGuardServiceServerMockRecorder is the mock recorder for MockWireGuardServiceServer.

func (*MockWireGuardServiceServerMockRecorder) Dump added in v1.3.0

func (mr *MockWireGuardServiceServerMockRecorder) Dump(arg0, arg1 interface{}) *gomock.Call

Dump indicates an expected call of Dump.

func (*MockWireGuardServiceServerMockRecorder) Ping added in v1.3.0

func (mr *MockWireGuardServiceServerMockRecorder) Ping(arg0, arg1 interface{}) *gomock.Call

Ping indicates an expected call of Ping.

Jump to

Keyboard shortcuts

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