mock_client

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package mock_client 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) Commit

func (m *MockClient) Commit(ctx context.Context, domain, body string, response any, opts *client.Options) (*http.Response, error)

Commit 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) GetAssociation

func (m *MockClient) GetAssociation(ctx context.Context, domain, id string, opts *client.Options) (core.Association, error)

GetAssociation mocks base method.

func (*MockClient) GetChunkBodies

func (m *MockClient) GetChunkBodies(ctx context.Context, domain string, query map[string]string, opts *client.Options) (map[string]core.Chunk, error)

GetChunkBodies mocks base method.

func (*MockClient) GetChunkItrs

func (m *MockClient) GetChunkItrs(ctx context.Context, domain string, timelines []string, epoch string, opts *client.Options) (map[string]string, error)

GetChunkItrs mocks base method.

func (*MockClient) GetChunks

func (m *MockClient) GetChunks(ctx context.Context, domain string, timelines []string, queryTime time.Time, opts *client.Options) (map[string]core.Chunk, error)

GetChunks mocks base method.

func (*MockClient) GetDomain

func (m *MockClient) GetDomain(ctx context.Context, domain string, opts *client.Options) (core.Domain, error)

GetDomain mocks base method.

func (*MockClient) GetEntity

func (m *MockClient) GetEntity(ctx context.Context, domain, address string, opts *client.Options) (core.Entity, error)

GetEntity mocks base method.

func (*MockClient) GetKey

func (m *MockClient) GetKey(ctx context.Context, domain, id string, opts *client.Options) ([]core.Key, error)

GetKey mocks base method.

func (*MockClient) GetMessage

func (m *MockClient) GetMessage(ctx context.Context, domain, id string, opts *client.Options) (core.Message, error)

GetMessage mocks base method.

func (*MockClient) GetProfile

func (m *MockClient) GetProfile(ctx context.Context, domain, address string, opts *client.Options) (core.Profile, error)

GetProfile mocks base method.

func (*MockClient) GetRetracted

func (m *MockClient) GetRetracted(ctx context.Context, domain string, timelines []string, opts *client.Options) (map[string][]string, error)

GetRetracted mocks base method.

func (*MockClient) GetTimeline

func (m *MockClient) GetTimeline(ctx context.Context, domain, id string, opts *client.Options) (core.Timeline, error)

GetTimeline mocks base method.

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) Commit

func (mr *MockClientMockRecorder) Commit(ctx, domain, body, response, opts any) *gomock.Call

Commit indicates an expected call of Commit.

func (*MockClientMockRecorder) GetAssociation

func (mr *MockClientMockRecorder) GetAssociation(ctx, domain, id, opts any) *gomock.Call

GetAssociation indicates an expected call of GetAssociation.

func (*MockClientMockRecorder) GetChunkBodies

func (mr *MockClientMockRecorder) GetChunkBodies(ctx, domain, query, opts any) *gomock.Call

GetChunkBodies indicates an expected call of GetChunkBodies.

func (*MockClientMockRecorder) GetChunkItrs

func (mr *MockClientMockRecorder) GetChunkItrs(ctx, domain, timelines, epoch, opts any) *gomock.Call

GetChunkItrs indicates an expected call of GetChunkItrs.

func (*MockClientMockRecorder) GetChunks

func (mr *MockClientMockRecorder) GetChunks(ctx, domain, timelines, queryTime, opts any) *gomock.Call

GetChunks indicates an expected call of GetChunks.

func (*MockClientMockRecorder) GetDomain

func (mr *MockClientMockRecorder) GetDomain(ctx, domain, opts any) *gomock.Call

GetDomain indicates an expected call of GetDomain.

func (*MockClientMockRecorder) GetEntity

func (mr *MockClientMockRecorder) GetEntity(ctx, domain, address, opts any) *gomock.Call

GetEntity indicates an expected call of GetEntity.

func (*MockClientMockRecorder) GetKey

func (mr *MockClientMockRecorder) GetKey(ctx, domain, id, opts any) *gomock.Call

GetKey indicates an expected call of GetKey.

func (*MockClientMockRecorder) GetMessage

func (mr *MockClientMockRecorder) GetMessage(ctx, domain, id, opts any) *gomock.Call

GetMessage indicates an expected call of GetMessage.

func (*MockClientMockRecorder) GetProfile

func (mr *MockClientMockRecorder) GetProfile(ctx, domain, address, opts any) *gomock.Call

GetProfile indicates an expected call of GetProfile.

func (*MockClientMockRecorder) GetRetracted

func (mr *MockClientMockRecorder) GetRetracted(ctx, domain, timelines, opts any) *gomock.Call

GetRetracted indicates an expected call of GetRetracted.

func (*MockClientMockRecorder) GetTimeline

func (mr *MockClientMockRecorder) GetTimeline(ctx, domain, id, opts any) *gomock.Call

GetTimeline indicates an expected call of GetTimeline.

Jump to

Keyboard shortcuts

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