Documentation
¶
Overview ¶
Package lib is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AwaitMeasurement(arg0 context.Context, arg1 string) (*globalping.Measurement, error)
- func (m *MockClient) CacheClean()
- func (m *MockClient) CachePurge()
- func (m *MockClient) CreateMeasurement(arg0 context.Context, arg1 *globalping.MeasurementCreate) (*globalping.MeasurementCreateResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetMeasurement(arg0 context.Context, arg1 string) (*globalping.Measurement, error)
- func (m *MockClient) GetMeasurementRaw(arg0 context.Context, arg1 string) ([]byte, error)
- func (m *MockClient) Limits(arg0 context.Context) (*globalping.LimitsResponse, error)
- func (m *MockClient) Probes(arg0 context.Context) (*globalping.ProbesResponse, error)
- func (m *MockClient) SetToken(arg0 string)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AwaitMeasurement(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) CacheClean() *gomock.Call
- func (mr *MockClientMockRecorder) CachePurge() *gomock.Call
- func (mr *MockClientMockRecorder) CreateMeasurement(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetMeasurement(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) GetMeasurementRaw(arg0, arg1 any) *gomock.Call
- func (mr *MockClientMockRecorder) Limits(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) Probes(arg0 any) *gomock.Call
- func (mr *MockClientMockRecorder) SetToken(arg0 any) *gomock.Call
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) CreateMeasurement ¶
func (m *MockClient) CreateMeasurement(arg0 context.Context, arg1 *globalping.MeasurementCreate) (*globalping.MeasurementCreateResponse, error)
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 ¶
GetMeasurementRaw mocks base method.
func (*MockClient) Limits ¶
func (m *MockClient) Limits(arg0 context.Context) (*globalping.LimitsResponse, error)
Limits mocks base method.
func (*MockClient) Probes ¶
func (m *MockClient) Probes(arg0 context.Context) (*globalping.ProbesResponse, error)
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.