mock

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2025 License: Apache-2.0 Imports: 5 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 MockPluginRegistry added in v0.0.13

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

MockPluginRegistry is a mock of PluginRegistry interface.

func NewMockPluginRegistry added in v0.0.13

func NewMockPluginRegistry(ctrl *gomock.Controller) *MockPluginRegistry

NewMockPluginRegistry creates a new mock instance.

func (*MockPluginRegistry) EXPECT added in v0.0.13

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

func (*MockPluginRegistry) Register added in v0.0.13

func (m *MockPluginRegistry) Register(ctx context.Context, path string) (plugin.FullName, error)

Register mocks base method.

type MockPluginRegistryMockRecorder added in v0.0.13

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

MockPluginRegistryMockRecorder is the mock recorder for MockPluginRegistry.

func (*MockPluginRegistryMockRecorder) Register added in v0.0.13

func (mr *MockPluginRegistryMockRecorder) Register(ctx, path interface{}) *gomock.Call

Register indicates an expected call of Register.

type MockhttpClient

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

MockhttpClient is a mock of httpClient interface.

func NewMockhttpClient

func NewMockhttpClient(ctrl *gomock.Controller) *MockhttpClient

NewMockhttpClient creates a new mock instance.

func (*MockhttpClient) Do

func (m *MockhttpClient) Do(req *http.Request) (*http.Response, error)

Do mocks base method.

func (*MockhttpClient) EXPECT

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

type MockhttpClientMockRecorder

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

MockhttpClientMockRecorder is the mock recorder for MockhttpClient.

func (*MockhttpClientMockRecorder) Do

func (mr *MockhttpClientMockRecorder) Do(req interface{}) *gomock.Call

Do indicates an expected call of Do.

Jump to

Keyboard shortcuts

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