mocks

package
v2.0.145 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSchedulerClient

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

MockSchedulerClient is a mock of SchedulerClient interface.

func NewMockSchedulerClient

func NewMockSchedulerClient(ctrl *gomock.Controller) *MockSchedulerClient

NewMockSchedulerClient creates a new mock instance.

func (*MockSchedulerClient) AnnounceCachePeer added in v2.0.121

AnnounceCachePeer mocks base method.

func (*MockSchedulerClient) AnnounceHost

AnnounceHost mocks base method.

func (*MockSchedulerClient) AnnouncePeer

AnnouncePeer mocks base method.

func (*MockSchedulerClient) AnnouncePeers added in v2.0.133

AnnouncePeers mocks base method.

func (*MockSchedulerClient) DeleteCachePeer added in v2.0.121

DeleteCachePeer mocks base method.

func (*MockSchedulerClient) DeleteCacheTask added in v2.0.121

DeleteCacheTask mocks base method.

func (*MockSchedulerClient) DeleteHost added in v2.0.120

DeleteHost mocks base method.

func (*MockSchedulerClient) DeletePeer added in v2.0.120

DeletePeer mocks base method.

func (*MockSchedulerClient) DeleteTask added in v2.0.120

DeleteTask mocks base method.

func (*MockSchedulerClient) EXPECT

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

func (*MockSchedulerClient) StatCachePeer added in v2.0.121

StatCachePeer mocks base method.

func (*MockSchedulerClient) StatCacheTask added in v2.0.121

StatCacheTask mocks base method.

func (*MockSchedulerClient) StatPeer

StatPeer mocks base method.

func (*MockSchedulerClient) StatTask

StatTask mocks base method.

func (*MockSchedulerClient) SyncProbes

SyncProbes mocks base method.

func (*MockSchedulerClient) UploadCacheTaskFailed added in v2.0.133

UploadCacheTaskFailed mocks base method.

func (*MockSchedulerClient) UploadCacheTaskFinished added in v2.0.133

UploadCacheTaskFinished mocks base method.

func (*MockSchedulerClient) UploadCacheTaskStarted added in v2.0.133

UploadCacheTaskStarted mocks base method.

type MockSchedulerClientMockRecorder

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

MockSchedulerClientMockRecorder is the mock recorder for MockSchedulerClient.

func (*MockSchedulerClientMockRecorder) AnnounceCachePeer added in v2.0.121

func (mr *MockSchedulerClientMockRecorder) AnnounceCachePeer(ctx any, opts ...any) *gomock.Call

AnnounceCachePeer indicates an expected call of AnnounceCachePeer.

func (*MockSchedulerClientMockRecorder) AnnounceHost

func (mr *MockSchedulerClientMockRecorder) AnnounceHost(ctx, in any, opts ...any) *gomock.Call

AnnounceHost indicates an expected call of AnnounceHost.

func (*MockSchedulerClientMockRecorder) AnnouncePeer

func (mr *MockSchedulerClientMockRecorder) AnnouncePeer(ctx any, opts ...any) *gomock.Call

AnnouncePeer indicates an expected call of AnnouncePeer.

func (*MockSchedulerClientMockRecorder) AnnouncePeers added in v2.0.133

func (mr *MockSchedulerClientMockRecorder) AnnouncePeers(ctx any, opts ...any) *gomock.Call

AnnouncePeers indicates an expected call of AnnouncePeers.

func (*MockSchedulerClientMockRecorder) DeleteCachePeer added in v2.0.121

func (mr *MockSchedulerClientMockRecorder) DeleteCachePeer(ctx, in any, opts ...any) *gomock.Call

DeleteCachePeer indicates an expected call of DeleteCachePeer.

func (*MockSchedulerClientMockRecorder) DeleteCacheTask added in v2.0.121

func (mr *MockSchedulerClientMockRecorder) DeleteCacheTask(ctx, in any, opts ...any) *gomock.Call

DeleteCacheTask indicates an expected call of DeleteCacheTask.

func (*MockSchedulerClientMockRecorder) DeleteHost added in v2.0.120

func (mr *MockSchedulerClientMockRecorder) DeleteHost(ctx, in any, opts ...any) *gomock.Call

DeleteHost indicates an expected call of DeleteHost.

func (*MockSchedulerClientMockRecorder) DeletePeer added in v2.0.120

func (mr *MockSchedulerClientMockRecorder) DeletePeer(ctx, in any, opts ...any) *gomock.Call

DeletePeer indicates an expected call of DeletePeer.

func (*MockSchedulerClientMockRecorder) DeleteTask added in v2.0.120

func (mr *MockSchedulerClientMockRecorder) DeleteTask(ctx, in any, opts ...any) *gomock.Call

DeleteTask indicates an expected call of DeleteTask.

func (*MockSchedulerClientMockRecorder) StatCachePeer added in v2.0.121

func (mr *MockSchedulerClientMockRecorder) StatCachePeer(ctx, in any, opts ...any) *gomock.Call

StatCachePeer indicates an expected call of StatCachePeer.

func (*MockSchedulerClientMockRecorder) StatCacheTask added in v2.0.121

func (mr *MockSchedulerClientMockRecorder) StatCacheTask(ctx, in any, opts ...any) *gomock.Call

StatCacheTask indicates an expected call of StatCacheTask.

func (*MockSchedulerClientMockRecorder) StatPeer

func (mr *MockSchedulerClientMockRecorder) StatPeer(ctx, in any, opts ...any) *gomock.Call

StatPeer indicates an expected call of StatPeer.

func (*MockSchedulerClientMockRecorder) StatTask

func (mr *MockSchedulerClientMockRecorder) StatTask(ctx, in any, opts ...any) *gomock.Call

StatTask indicates an expected call of StatTask.

func (*MockSchedulerClientMockRecorder) SyncProbes

func (mr *MockSchedulerClientMockRecorder) SyncProbes(ctx any, opts ...any) *gomock.Call

SyncProbes indicates an expected call of SyncProbes.

func (*MockSchedulerClientMockRecorder) UploadCacheTaskFailed added in v2.0.133

func (mr *MockSchedulerClientMockRecorder) UploadCacheTaskFailed(ctx, in any, opts ...any) *gomock.Call

UploadCacheTaskFailed indicates an expected call of UploadCacheTaskFailed.

func (*MockSchedulerClientMockRecorder) UploadCacheTaskFinished added in v2.0.133

func (mr *MockSchedulerClientMockRecorder) UploadCacheTaskFinished(ctx, in any, opts ...any) *gomock.Call

UploadCacheTaskFinished indicates an expected call of UploadCacheTaskFinished.

func (*MockSchedulerClientMockRecorder) UploadCacheTaskStarted added in v2.0.133

func (mr *MockSchedulerClientMockRecorder) UploadCacheTaskStarted(ctx, in any, opts ...any) *gomock.Call

UploadCacheTaskStarted indicates an expected call of UploadCacheTaskStarted.

type MockSchedulerServer

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

MockSchedulerServer is a mock of SchedulerServer interface.

func NewMockSchedulerServer

func NewMockSchedulerServer(ctrl *gomock.Controller) *MockSchedulerServer

NewMockSchedulerServer creates a new mock instance.

func (*MockSchedulerServer) AnnounceCachePeer added in v2.0.121

AnnounceCachePeer mocks base method.

func (*MockSchedulerServer) AnnounceHost

AnnounceHost mocks base method.

func (*MockSchedulerServer) AnnouncePeer

AnnouncePeer mocks base method.

func (*MockSchedulerServer) AnnouncePeers added in v2.0.133

AnnouncePeers mocks base method.

func (*MockSchedulerServer) DeleteCachePeer added in v2.0.121

DeleteCachePeer mocks base method.

func (*MockSchedulerServer) DeleteCacheTask added in v2.0.121

DeleteCacheTask mocks base method.

func (*MockSchedulerServer) DeleteHost added in v2.0.120

DeleteHost mocks base method.

func (*MockSchedulerServer) DeletePeer added in v2.0.120

DeletePeer mocks base method.

func (*MockSchedulerServer) DeleteTask added in v2.0.120

DeleteTask mocks base method.

func (*MockSchedulerServer) EXPECT

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

func (*MockSchedulerServer) StatCachePeer added in v2.0.121

StatCachePeer mocks base method.

func (*MockSchedulerServer) StatCacheTask added in v2.0.121

StatCacheTask mocks base method.

func (*MockSchedulerServer) StatPeer

StatPeer mocks base method.

func (*MockSchedulerServer) StatTask

StatTask mocks base method.

func (*MockSchedulerServer) SyncProbes

SyncProbes mocks base method.

func (*MockSchedulerServer) UploadCacheTaskFailed added in v2.0.133

func (m *MockSchedulerServer) UploadCacheTaskFailed(arg0 context.Context, arg1 *scheduler.UploadCacheTaskFailedRequest) (*emptypb.Empty, error)

UploadCacheTaskFailed mocks base method.

func (*MockSchedulerServer) UploadCacheTaskFinished added in v2.0.133

UploadCacheTaskFinished mocks base method.

func (*MockSchedulerServer) UploadCacheTaskStarted added in v2.0.133

func (m *MockSchedulerServer) UploadCacheTaskStarted(arg0 context.Context, arg1 *scheduler.UploadCacheTaskStartedRequest) (*emptypb.Empty, error)

UploadCacheTaskStarted mocks base method.

type MockSchedulerServerMockRecorder

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

MockSchedulerServerMockRecorder is the mock recorder for MockSchedulerServer.

func (*MockSchedulerServerMockRecorder) AnnounceCachePeer added in v2.0.121

func (mr *MockSchedulerServerMockRecorder) AnnounceCachePeer(arg0 any) *gomock.Call

AnnounceCachePeer indicates an expected call of AnnounceCachePeer.

func (*MockSchedulerServerMockRecorder) AnnounceHost

func (mr *MockSchedulerServerMockRecorder) AnnounceHost(arg0, arg1 any) *gomock.Call

AnnounceHost indicates an expected call of AnnounceHost.

func (*MockSchedulerServerMockRecorder) AnnouncePeer

func (mr *MockSchedulerServerMockRecorder) AnnouncePeer(arg0 any) *gomock.Call

AnnouncePeer indicates an expected call of AnnouncePeer.

func (*MockSchedulerServerMockRecorder) AnnouncePeers added in v2.0.133

func (mr *MockSchedulerServerMockRecorder) AnnouncePeers(arg0 any) *gomock.Call

AnnouncePeers indicates an expected call of AnnouncePeers.

func (*MockSchedulerServerMockRecorder) DeleteCachePeer added in v2.0.121

func (mr *MockSchedulerServerMockRecorder) DeleteCachePeer(arg0, arg1 any) *gomock.Call

DeleteCachePeer indicates an expected call of DeleteCachePeer.

func (*MockSchedulerServerMockRecorder) DeleteCacheTask added in v2.0.121

func (mr *MockSchedulerServerMockRecorder) DeleteCacheTask(arg0, arg1 any) *gomock.Call

DeleteCacheTask indicates an expected call of DeleteCacheTask.

func (*MockSchedulerServerMockRecorder) DeleteHost added in v2.0.120

func (mr *MockSchedulerServerMockRecorder) DeleteHost(arg0, arg1 any) *gomock.Call

DeleteHost indicates an expected call of DeleteHost.

func (*MockSchedulerServerMockRecorder) DeletePeer added in v2.0.120

func (mr *MockSchedulerServerMockRecorder) DeletePeer(arg0, arg1 any) *gomock.Call

DeletePeer indicates an expected call of DeletePeer.

func (*MockSchedulerServerMockRecorder) DeleteTask added in v2.0.120

func (mr *MockSchedulerServerMockRecorder) DeleteTask(arg0, arg1 any) *gomock.Call

DeleteTask indicates an expected call of DeleteTask.

func (*MockSchedulerServerMockRecorder) StatCachePeer added in v2.0.121

func (mr *MockSchedulerServerMockRecorder) StatCachePeer(arg0, arg1 any) *gomock.Call

StatCachePeer indicates an expected call of StatCachePeer.

func (*MockSchedulerServerMockRecorder) StatCacheTask added in v2.0.121

func (mr *MockSchedulerServerMockRecorder) StatCacheTask(arg0, arg1 any) *gomock.Call

StatCacheTask indicates an expected call of StatCacheTask.

func (*MockSchedulerServerMockRecorder) StatPeer

func (mr *MockSchedulerServerMockRecorder) StatPeer(arg0, arg1 any) *gomock.Call

StatPeer indicates an expected call of StatPeer.

func (*MockSchedulerServerMockRecorder) StatTask

func (mr *MockSchedulerServerMockRecorder) StatTask(arg0, arg1 any) *gomock.Call

StatTask indicates an expected call of StatTask.

func (*MockSchedulerServerMockRecorder) SyncProbes

func (mr *MockSchedulerServerMockRecorder) SyncProbes(arg0 any) *gomock.Call

SyncProbes indicates an expected call of SyncProbes.

func (*MockSchedulerServerMockRecorder) UploadCacheTaskFailed added in v2.0.133

func (mr *MockSchedulerServerMockRecorder) UploadCacheTaskFailed(arg0, arg1 any) *gomock.Call

UploadCacheTaskFailed indicates an expected call of UploadCacheTaskFailed.

func (*MockSchedulerServerMockRecorder) UploadCacheTaskFinished added in v2.0.133

func (mr *MockSchedulerServerMockRecorder) UploadCacheTaskFinished(arg0, arg1 any) *gomock.Call

UploadCacheTaskFinished indicates an expected call of UploadCacheTaskFinished.

func (*MockSchedulerServerMockRecorder) UploadCacheTaskStarted added in v2.0.133

func (mr *MockSchedulerServerMockRecorder) UploadCacheTaskStarted(arg0, arg1 any) *gomock.Call

UploadCacheTaskStarted indicates an expected call of UploadCacheTaskStarted.

type MockScheduler_AnnounceCachePeerClient added in v2.0.121

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

MockScheduler_AnnounceCachePeerClient is a mock of Scheduler_AnnounceCachePeerClient interface.

func NewMockScheduler_AnnounceCachePeerClient added in v2.0.121

func NewMockScheduler_AnnounceCachePeerClient(ctrl *gomock.Controller) *MockScheduler_AnnounceCachePeerClient

NewMockScheduler_AnnounceCachePeerClient creates a new mock instance.

func (*MockScheduler_AnnounceCachePeerClient) CloseSend added in v2.0.121

CloseSend mocks base method.

func (*MockScheduler_AnnounceCachePeerClient) Context added in v2.0.121

Context mocks base method.

func (*MockScheduler_AnnounceCachePeerClient) EXPECT added in v2.0.121

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

func (*MockScheduler_AnnounceCachePeerClient) Header added in v2.0.121

Header mocks base method.

func (*MockScheduler_AnnounceCachePeerClient) Recv added in v2.0.121

Recv mocks base method.

func (*MockScheduler_AnnounceCachePeerClient) RecvMsg added in v2.0.121

RecvMsg mocks base method.

func (*MockScheduler_AnnounceCachePeerClient) Send added in v2.0.121

Send mocks base method.

func (*MockScheduler_AnnounceCachePeerClient) SendMsg added in v2.0.121

SendMsg mocks base method.

func (*MockScheduler_AnnounceCachePeerClient) Trailer added in v2.0.121

Trailer mocks base method.

type MockScheduler_AnnounceCachePeerClientMockRecorder added in v2.0.121

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

MockScheduler_AnnounceCachePeerClientMockRecorder is the mock recorder for MockScheduler_AnnounceCachePeerClient.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) CloseSend added in v2.0.121

CloseSend indicates an expected call of CloseSend.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) Context added in v2.0.121

Context indicates an expected call of Context.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) Header added in v2.0.121

Header indicates an expected call of Header.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) Recv added in v2.0.121

Recv indicates an expected call of Recv.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) RecvMsg added in v2.0.121

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) Send added in v2.0.121

Send indicates an expected call of Send.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) SendMsg added in v2.0.121

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_AnnounceCachePeerClientMockRecorder) Trailer added in v2.0.121

Trailer indicates an expected call of Trailer.

type MockScheduler_AnnounceCachePeerServer added in v2.0.121

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

MockScheduler_AnnounceCachePeerServer is a mock of Scheduler_AnnounceCachePeerServer interface.

func NewMockScheduler_AnnounceCachePeerServer added in v2.0.121

func NewMockScheduler_AnnounceCachePeerServer(ctrl *gomock.Controller) *MockScheduler_AnnounceCachePeerServer

NewMockScheduler_AnnounceCachePeerServer creates a new mock instance.

func (*MockScheduler_AnnounceCachePeerServer) Context added in v2.0.121

Context mocks base method.

func (*MockScheduler_AnnounceCachePeerServer) EXPECT added in v2.0.121

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

func (*MockScheduler_AnnounceCachePeerServer) Recv added in v2.0.121

Recv mocks base method.

func (*MockScheduler_AnnounceCachePeerServer) RecvMsg added in v2.0.121

RecvMsg mocks base method.

func (*MockScheduler_AnnounceCachePeerServer) Send added in v2.0.121

Send mocks base method.

func (*MockScheduler_AnnounceCachePeerServer) SendHeader added in v2.0.121

SendHeader mocks base method.

func (*MockScheduler_AnnounceCachePeerServer) SendMsg added in v2.0.121

SendMsg mocks base method.

func (*MockScheduler_AnnounceCachePeerServer) SetHeader added in v2.0.121

SetHeader mocks base method.

func (*MockScheduler_AnnounceCachePeerServer) SetTrailer added in v2.0.121

SetTrailer mocks base method.

type MockScheduler_AnnounceCachePeerServerMockRecorder added in v2.0.121

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

MockScheduler_AnnounceCachePeerServerMockRecorder is the mock recorder for MockScheduler_AnnounceCachePeerServer.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) Context added in v2.0.121

Context indicates an expected call of Context.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) Recv added in v2.0.121

Recv indicates an expected call of Recv.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) RecvMsg added in v2.0.121

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) Send added in v2.0.121

Send indicates an expected call of Send.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) SendHeader added in v2.0.121

SendHeader indicates an expected call of SendHeader.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) SendMsg added in v2.0.121

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) SetHeader added in v2.0.121

SetHeader indicates an expected call of SetHeader.

func (*MockScheduler_AnnounceCachePeerServerMockRecorder) SetTrailer added in v2.0.121

SetTrailer indicates an expected call of SetTrailer.

type MockScheduler_AnnouncePeerClient

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

MockScheduler_AnnouncePeerClient is a mock of Scheduler_AnnouncePeerClient interface.

func NewMockScheduler_AnnouncePeerClient

func NewMockScheduler_AnnouncePeerClient(ctrl *gomock.Controller) *MockScheduler_AnnouncePeerClient

NewMockScheduler_AnnouncePeerClient creates a new mock instance.

func (*MockScheduler_AnnouncePeerClient) CloseSend

func (m *MockScheduler_AnnouncePeerClient) CloseSend() error

CloseSend mocks base method.

func (*MockScheduler_AnnouncePeerClient) Context

Context mocks base method.

func (*MockScheduler_AnnouncePeerClient) EXPECT

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

func (*MockScheduler_AnnouncePeerClient) Header

Header mocks base method.

func (*MockScheduler_AnnouncePeerClient) Recv

Recv mocks base method.

func (*MockScheduler_AnnouncePeerClient) RecvMsg

func (m_2 *MockScheduler_AnnouncePeerClient) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockScheduler_AnnouncePeerClient) Send

Send mocks base method.

func (*MockScheduler_AnnouncePeerClient) SendMsg

func (m_2 *MockScheduler_AnnouncePeerClient) SendMsg(m any) error

SendMsg mocks base method.

func (*MockScheduler_AnnouncePeerClient) Trailer

Trailer mocks base method.

type MockScheduler_AnnouncePeerClientMockRecorder

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

MockScheduler_AnnouncePeerClientMockRecorder is the mock recorder for MockScheduler_AnnouncePeerClient.

func (*MockScheduler_AnnouncePeerClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockScheduler_AnnouncePeerClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockScheduler_AnnouncePeerClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockScheduler_AnnouncePeerClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockScheduler_AnnouncePeerClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_AnnouncePeerClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockScheduler_AnnouncePeerClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_AnnouncePeerClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockScheduler_AnnouncePeerServer

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

MockScheduler_AnnouncePeerServer is a mock of Scheduler_AnnouncePeerServer interface.

func NewMockScheduler_AnnouncePeerServer

func NewMockScheduler_AnnouncePeerServer(ctrl *gomock.Controller) *MockScheduler_AnnouncePeerServer

NewMockScheduler_AnnouncePeerServer creates a new mock instance.

func (*MockScheduler_AnnouncePeerServer) Context

Context mocks base method.

func (*MockScheduler_AnnouncePeerServer) EXPECT

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

func (*MockScheduler_AnnouncePeerServer) Recv

Recv mocks base method.

func (*MockScheduler_AnnouncePeerServer) RecvMsg

func (m_2 *MockScheduler_AnnouncePeerServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockScheduler_AnnouncePeerServer) Send

Send mocks base method.

func (*MockScheduler_AnnouncePeerServer) SendHeader

func (m *MockScheduler_AnnouncePeerServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockScheduler_AnnouncePeerServer) SendMsg

func (m_2 *MockScheduler_AnnouncePeerServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockScheduler_AnnouncePeerServer) SetHeader

SetHeader mocks base method.

func (*MockScheduler_AnnouncePeerServer) SetTrailer

func (m *MockScheduler_AnnouncePeerServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockScheduler_AnnouncePeerServerMockRecorder

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

MockScheduler_AnnouncePeerServerMockRecorder is the mock recorder for MockScheduler_AnnouncePeerServer.

func (*MockScheduler_AnnouncePeerServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockScheduler_AnnouncePeerServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockScheduler_AnnouncePeerServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_AnnouncePeerServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockScheduler_AnnouncePeerServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockScheduler_AnnouncePeerServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_AnnouncePeerServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockScheduler_AnnouncePeerServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockScheduler_AnnouncePeersClient added in v2.0.133

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

MockScheduler_AnnouncePeersClient is a mock of Scheduler_AnnouncePeersClient interface.

func NewMockScheduler_AnnouncePeersClient added in v2.0.133

func NewMockScheduler_AnnouncePeersClient(ctrl *gomock.Controller) *MockScheduler_AnnouncePeersClient

NewMockScheduler_AnnouncePeersClient creates a new mock instance.

func (*MockScheduler_AnnouncePeersClient) CloseSend added in v2.0.133

CloseSend mocks base method.

func (*MockScheduler_AnnouncePeersClient) Context added in v2.0.133

Context mocks base method.

func (*MockScheduler_AnnouncePeersClient) EXPECT added in v2.0.133

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

func (*MockScheduler_AnnouncePeersClient) Header added in v2.0.133

Header mocks base method.

func (*MockScheduler_AnnouncePeersClient) Recv added in v2.0.133

Recv mocks base method.

func (*MockScheduler_AnnouncePeersClient) RecvMsg added in v2.0.133

RecvMsg mocks base method.

func (*MockScheduler_AnnouncePeersClient) Send added in v2.0.133

Send mocks base method.

func (*MockScheduler_AnnouncePeersClient) SendMsg added in v2.0.133

SendMsg mocks base method.

func (*MockScheduler_AnnouncePeersClient) Trailer added in v2.0.133

Trailer mocks base method.

type MockScheduler_AnnouncePeersClientMockRecorder added in v2.0.133

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

MockScheduler_AnnouncePeersClientMockRecorder is the mock recorder for MockScheduler_AnnouncePeersClient.

func (*MockScheduler_AnnouncePeersClientMockRecorder) CloseSend added in v2.0.133

CloseSend indicates an expected call of CloseSend.

func (*MockScheduler_AnnouncePeersClientMockRecorder) Context added in v2.0.133

Context indicates an expected call of Context.

func (*MockScheduler_AnnouncePeersClientMockRecorder) Header added in v2.0.133

Header indicates an expected call of Header.

func (*MockScheduler_AnnouncePeersClientMockRecorder) Recv added in v2.0.133

Recv indicates an expected call of Recv.

func (*MockScheduler_AnnouncePeersClientMockRecorder) RecvMsg added in v2.0.133

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_AnnouncePeersClientMockRecorder) Send added in v2.0.133

Send indicates an expected call of Send.

func (*MockScheduler_AnnouncePeersClientMockRecorder) SendMsg added in v2.0.133

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_AnnouncePeersClientMockRecorder) Trailer added in v2.0.133

Trailer indicates an expected call of Trailer.

type MockScheduler_AnnouncePeersServer added in v2.0.133

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

MockScheduler_AnnouncePeersServer is a mock of Scheduler_AnnouncePeersServer interface.

func NewMockScheduler_AnnouncePeersServer added in v2.0.133

func NewMockScheduler_AnnouncePeersServer(ctrl *gomock.Controller) *MockScheduler_AnnouncePeersServer

NewMockScheduler_AnnouncePeersServer creates a new mock instance.

func (*MockScheduler_AnnouncePeersServer) Context added in v2.0.133

Context mocks base method.

func (*MockScheduler_AnnouncePeersServer) EXPECT added in v2.0.133

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

func (*MockScheduler_AnnouncePeersServer) Recv added in v2.0.133

Recv mocks base method.

func (*MockScheduler_AnnouncePeersServer) RecvMsg added in v2.0.133

RecvMsg mocks base method.

func (*MockScheduler_AnnouncePeersServer) Send added in v2.0.133

Send mocks base method.

func (*MockScheduler_AnnouncePeersServer) SendHeader added in v2.0.133

func (m *MockScheduler_AnnouncePeersServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockScheduler_AnnouncePeersServer) SendMsg added in v2.0.133

SendMsg mocks base method.

func (*MockScheduler_AnnouncePeersServer) SetHeader added in v2.0.133

SetHeader mocks base method.

func (*MockScheduler_AnnouncePeersServer) SetTrailer added in v2.0.133

func (m *MockScheduler_AnnouncePeersServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockScheduler_AnnouncePeersServerMockRecorder added in v2.0.133

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

MockScheduler_AnnouncePeersServerMockRecorder is the mock recorder for MockScheduler_AnnouncePeersServer.

func (*MockScheduler_AnnouncePeersServerMockRecorder) Context added in v2.0.133

Context indicates an expected call of Context.

func (*MockScheduler_AnnouncePeersServerMockRecorder) Recv added in v2.0.133

Recv indicates an expected call of Recv.

func (*MockScheduler_AnnouncePeersServerMockRecorder) RecvMsg added in v2.0.133

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_AnnouncePeersServerMockRecorder) Send added in v2.0.133

Send indicates an expected call of Send.

func (*MockScheduler_AnnouncePeersServerMockRecorder) SendHeader added in v2.0.133

SendHeader indicates an expected call of SendHeader.

func (*MockScheduler_AnnouncePeersServerMockRecorder) SendMsg added in v2.0.133

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_AnnouncePeersServerMockRecorder) SetHeader added in v2.0.133

SetHeader indicates an expected call of SetHeader.

func (*MockScheduler_AnnouncePeersServerMockRecorder) SetTrailer added in v2.0.133

SetTrailer indicates an expected call of SetTrailer.

type MockScheduler_SyncProbesClient

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

MockScheduler_SyncProbesClient is a mock of Scheduler_SyncProbesClient interface.

func NewMockScheduler_SyncProbesClient

func NewMockScheduler_SyncProbesClient(ctrl *gomock.Controller) *MockScheduler_SyncProbesClient

NewMockScheduler_SyncProbesClient creates a new mock instance.

func (*MockScheduler_SyncProbesClient) CloseSend

func (m *MockScheduler_SyncProbesClient) CloseSend() error

CloseSend mocks base method.

func (*MockScheduler_SyncProbesClient) Context

Context mocks base method.

func (*MockScheduler_SyncProbesClient) EXPECT

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

func (*MockScheduler_SyncProbesClient) Header

Header mocks base method.

func (*MockScheduler_SyncProbesClient) Recv

Recv mocks base method.

func (*MockScheduler_SyncProbesClient) RecvMsg

func (m_2 *MockScheduler_SyncProbesClient) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockScheduler_SyncProbesClient) Send

Send mocks base method.

func (*MockScheduler_SyncProbesClient) SendMsg

func (m_2 *MockScheduler_SyncProbesClient) SendMsg(m any) error

SendMsg mocks base method.

func (*MockScheduler_SyncProbesClient) Trailer

Trailer mocks base method.

type MockScheduler_SyncProbesClientMockRecorder

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

MockScheduler_SyncProbesClientMockRecorder is the mock recorder for MockScheduler_SyncProbesClient.

func (*MockScheduler_SyncProbesClientMockRecorder) CloseSend

CloseSend indicates an expected call of CloseSend.

func (*MockScheduler_SyncProbesClientMockRecorder) Context

Context indicates an expected call of Context.

func (*MockScheduler_SyncProbesClientMockRecorder) Header

Header indicates an expected call of Header.

func (*MockScheduler_SyncProbesClientMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockScheduler_SyncProbesClientMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_SyncProbesClientMockRecorder) Send

Send indicates an expected call of Send.

func (*MockScheduler_SyncProbesClientMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_SyncProbesClientMockRecorder) Trailer

Trailer indicates an expected call of Trailer.

type MockScheduler_SyncProbesServer

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

MockScheduler_SyncProbesServer is a mock of Scheduler_SyncProbesServer interface.

func NewMockScheduler_SyncProbesServer

func NewMockScheduler_SyncProbesServer(ctrl *gomock.Controller) *MockScheduler_SyncProbesServer

NewMockScheduler_SyncProbesServer creates a new mock instance.

func (*MockScheduler_SyncProbesServer) Context

Context mocks base method.

func (*MockScheduler_SyncProbesServer) EXPECT

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

func (*MockScheduler_SyncProbesServer) Recv

Recv mocks base method.

func (*MockScheduler_SyncProbesServer) RecvMsg

func (m_2 *MockScheduler_SyncProbesServer) RecvMsg(m any) error

RecvMsg mocks base method.

func (*MockScheduler_SyncProbesServer) Send

Send mocks base method.

func (*MockScheduler_SyncProbesServer) SendHeader

func (m *MockScheduler_SyncProbesServer) SendHeader(arg0 metadata.MD) error

SendHeader mocks base method.

func (*MockScheduler_SyncProbesServer) SendMsg

func (m_2 *MockScheduler_SyncProbesServer) SendMsg(m any) error

SendMsg mocks base method.

func (*MockScheduler_SyncProbesServer) SetHeader

func (m *MockScheduler_SyncProbesServer) SetHeader(arg0 metadata.MD) error

SetHeader mocks base method.

func (*MockScheduler_SyncProbesServer) SetTrailer

func (m *MockScheduler_SyncProbesServer) SetTrailer(arg0 metadata.MD)

SetTrailer mocks base method.

type MockScheduler_SyncProbesServerMockRecorder

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

MockScheduler_SyncProbesServerMockRecorder is the mock recorder for MockScheduler_SyncProbesServer.

func (*MockScheduler_SyncProbesServerMockRecorder) Context

Context indicates an expected call of Context.

func (*MockScheduler_SyncProbesServerMockRecorder) Recv

Recv indicates an expected call of Recv.

func (*MockScheduler_SyncProbesServerMockRecorder) RecvMsg

RecvMsg indicates an expected call of RecvMsg.

func (*MockScheduler_SyncProbesServerMockRecorder) Send

Send indicates an expected call of Send.

func (*MockScheduler_SyncProbesServerMockRecorder) SendHeader

SendHeader indicates an expected call of SendHeader.

func (*MockScheduler_SyncProbesServerMockRecorder) SendMsg

SendMsg indicates an expected call of SendMsg.

func (*MockScheduler_SyncProbesServerMockRecorder) SetHeader

SetHeader indicates an expected call of SetHeader.

func (*MockScheduler_SyncProbesServerMockRecorder) SetTrailer

SetTrailer indicates an expected call of SetTrailer.

type MockUnsafeSchedulerServer

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

MockUnsafeSchedulerServer is a mock of UnsafeSchedulerServer interface.

func NewMockUnsafeSchedulerServer

func NewMockUnsafeSchedulerServer(ctrl *gomock.Controller) *MockUnsafeSchedulerServer

NewMockUnsafeSchedulerServer creates a new mock instance.

func (*MockUnsafeSchedulerServer) EXPECT

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

type MockUnsafeSchedulerServerMockRecorder

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

MockUnsafeSchedulerServerMockRecorder is the mock recorder for MockUnsafeSchedulerServer.

Jump to

Keyboard shortcuts

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