lib

package
v1.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package lib is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) AwaitMeasurement

func (m *MockClient) AwaitMeasurement(arg0 context.Context, arg1 string) (*globalping.Measurement, error)

AwaitMeasurement mocks base method.

func (*MockClient) CacheClean

func (m *MockClient) CacheClean()

CacheClean mocks base method.

func (*MockClient) CachePurge

func (m *MockClient) CachePurge()

CachePurge mocks base method.

func (*MockClient) CreateMeasurement

CreateMeasurement mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) GetMeasurement

func (m *MockClient) GetMeasurement(arg0 context.Context, arg1 string) (*globalping.Measurement, error)

GetMeasurement mocks base method.

func (*MockClient) GetMeasurementRaw

func (m *MockClient) GetMeasurementRaw(arg0 context.Context, arg1 string) ([]byte, error)

GetMeasurementRaw mocks base method.

func (*MockClient) Limits

Limits mocks base method.

func (*MockClient) Probes

Probes mocks base method.

func (*MockClient) SetToken

func (m *MockClient) SetToken(arg0 string)

SetToken mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AwaitMeasurement

func (mr *MockClientMockRecorder) AwaitMeasurement(arg0, arg1 any) *gomock.Call

AwaitMeasurement indicates an expected call of AwaitMeasurement.

func (*MockClientMockRecorder) CacheClean

func (mr *MockClientMockRecorder) CacheClean() *gomock.Call

CacheClean indicates an expected call of CacheClean.

func (*MockClientMockRecorder) CachePurge

func (mr *MockClientMockRecorder) CachePurge() *gomock.Call

CachePurge indicates an expected call of CachePurge.

func (*MockClientMockRecorder) CreateMeasurement

func (mr *MockClientMockRecorder) CreateMeasurement(arg0, arg1 any) *gomock.Call

CreateMeasurement indicates an expected call of CreateMeasurement.

func (*MockClientMockRecorder) GetMeasurement

func (mr *MockClientMockRecorder) GetMeasurement(arg0, arg1 any) *gomock.Call

GetMeasurement indicates an expected call of GetMeasurement.

func (*MockClientMockRecorder) GetMeasurementRaw

func (mr *MockClientMockRecorder) GetMeasurementRaw(arg0, arg1 any) *gomock.Call

GetMeasurementRaw indicates an expected call of GetMeasurementRaw.

func (*MockClientMockRecorder) Limits

func (mr *MockClientMockRecorder) Limits(arg0 any) *gomock.Call

Limits indicates an expected call of Limits.

func (*MockClientMockRecorder) Probes

func (mr *MockClientMockRecorder) Probes(arg0 any) *gomock.Call

Probes indicates an expected call of Probes.

func (*MockClientMockRecorder) SetToken

func (mr *MockClientMockRecorder) SetToken(arg0 any) *gomock.Call

SetToken indicates an expected call of SetToken.

Jump to

Keyboard shortcuts

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