Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockSchedulerClient
- func (m *MockSchedulerClient) AnnounceHost(ctx context.Context, in *scheduler.AnnounceHostRequest, ...) (*emptypb.Empty, error)
- func (m *MockSchedulerClient) AnnouncePeer(ctx context.Context, opts ...grpc.CallOption) (scheduler.Scheduler_AnnouncePeerClient, error)
- func (m *MockSchedulerClient) EXPECT() *MockSchedulerClientMockRecorder
- func (m *MockSchedulerClient) ExchangePeer(ctx context.Context, in *scheduler.ExchangePeerRequest, ...) (*scheduler.ExchangePeerResponse, error)
- func (m *MockSchedulerClient) LeaveHost(ctx context.Context, in *scheduler.LeaveHostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockSchedulerClient) LeavePeer(ctx context.Context, in *scheduler.LeavePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
- func (m *MockSchedulerClient) StatPeer(ctx context.Context, in *scheduler.StatPeerRequest, opts ...grpc.CallOption) (*common.Peer, error)
- func (m *MockSchedulerClient) StatTask(ctx context.Context, in *scheduler.StatTaskRequest, opts ...grpc.CallOption) (*common.Task, error)
- func (m *MockSchedulerClient) SyncProbes(ctx context.Context, opts ...grpc.CallOption) (scheduler.Scheduler_SyncProbesClient, error)
- type MockSchedulerClientMockRecorder
- func (mr *MockSchedulerClientMockRecorder) AnnounceHost(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSchedulerClientMockRecorder) AnnouncePeer(ctx interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSchedulerClientMockRecorder) ExchangePeer(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSchedulerClientMockRecorder) LeaveHost(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSchedulerClientMockRecorder) LeavePeer(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSchedulerClientMockRecorder) StatPeer(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSchedulerClientMockRecorder) StatTask(ctx, in interface{}, opts ...interface{}) *gomock.Call
- func (mr *MockSchedulerClientMockRecorder) SyncProbes(ctx interface{}, opts ...interface{}) *gomock.Call
- type MockSchedulerServer
- func (m *MockSchedulerServer) AnnounceHost(arg0 context.Context, arg1 *scheduler.AnnounceHostRequest) (*emptypb.Empty, error)
- func (m *MockSchedulerServer) AnnouncePeer(arg0 scheduler.Scheduler_AnnouncePeerServer) error
- func (m *MockSchedulerServer) EXPECT() *MockSchedulerServerMockRecorder
- func (m *MockSchedulerServer) ExchangePeer(arg0 context.Context, arg1 *scheduler.ExchangePeerRequest) (*scheduler.ExchangePeerResponse, error)
- func (m *MockSchedulerServer) LeaveHost(arg0 context.Context, arg1 *scheduler.LeaveHostRequest) (*emptypb.Empty, error)
- func (m *MockSchedulerServer) LeavePeer(arg0 context.Context, arg1 *scheduler.LeavePeerRequest) (*emptypb.Empty, error)
- func (m *MockSchedulerServer) StatPeer(arg0 context.Context, arg1 *scheduler.StatPeerRequest) (*common.Peer, error)
- func (m *MockSchedulerServer) StatTask(arg0 context.Context, arg1 *scheduler.StatTaskRequest) (*common.Task, error)
- func (m *MockSchedulerServer) SyncProbes(arg0 scheduler.Scheduler_SyncProbesServer) error
- type MockSchedulerServerMockRecorder
- func (mr *MockSchedulerServerMockRecorder) AnnounceHost(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerServerMockRecorder) AnnouncePeer(arg0 interface{}) *gomock.Call
- func (mr *MockSchedulerServerMockRecorder) ExchangePeer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerServerMockRecorder) LeaveHost(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerServerMockRecorder) LeavePeer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerServerMockRecorder) StatPeer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerServerMockRecorder) StatTask(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockSchedulerServerMockRecorder) SyncProbes(arg0 interface{}) *gomock.Call
- type MockScheduler_AnnouncePeerClient
- func (m *MockScheduler_AnnouncePeerClient) CloseSend() error
- func (m *MockScheduler_AnnouncePeerClient) Context() context.Context
- func (m *MockScheduler_AnnouncePeerClient) EXPECT() *MockScheduler_AnnouncePeerClientMockRecorder
- func (m *MockScheduler_AnnouncePeerClient) Header() (metadata.MD, error)
- func (m *MockScheduler_AnnouncePeerClient) Recv() (*scheduler.AnnouncePeerResponse, error)
- func (m_2 *MockScheduler_AnnouncePeerClient) RecvMsg(m interface{}) error
- func (m *MockScheduler_AnnouncePeerClient) Send(arg0 *scheduler.AnnouncePeerRequest) error
- func (m_2 *MockScheduler_AnnouncePeerClient) SendMsg(m interface{}) error
- func (m *MockScheduler_AnnouncePeerClient) Trailer() metadata.MD
- type MockScheduler_AnnouncePeerClientMockRecorder
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Context() *gomock.Call
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Header() *gomock.Call
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Recv() *gomock.Call
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Trailer() *gomock.Call
- type MockScheduler_AnnouncePeerServer
- func (m *MockScheduler_AnnouncePeerServer) Context() context.Context
- func (m *MockScheduler_AnnouncePeerServer) EXPECT() *MockScheduler_AnnouncePeerServerMockRecorder
- func (m *MockScheduler_AnnouncePeerServer) Recv() (*scheduler.AnnouncePeerRequest, error)
- func (m_2 *MockScheduler_AnnouncePeerServer) RecvMsg(m interface{}) error
- func (m *MockScheduler_AnnouncePeerServer) Send(arg0 *scheduler.AnnouncePeerResponse) error
- func (m *MockScheduler_AnnouncePeerServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockScheduler_AnnouncePeerServer) SendMsg(m interface{}) error
- func (m *MockScheduler_AnnouncePeerServer) SetHeader(arg0 metadata.MD) error
- func (m *MockScheduler_AnnouncePeerServer) SetTrailer(arg0 metadata.MD)
- type MockScheduler_AnnouncePeerServerMockRecorder
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) Context() *gomock.Call
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) Recv() *gomock.Call
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockScheduler_SyncProbesClient
- func (m *MockScheduler_SyncProbesClient) CloseSend() error
- func (m *MockScheduler_SyncProbesClient) Context() context.Context
- func (m *MockScheduler_SyncProbesClient) EXPECT() *MockScheduler_SyncProbesClientMockRecorder
- func (m *MockScheduler_SyncProbesClient) Header() (metadata.MD, error)
- func (m *MockScheduler_SyncProbesClient) Recv() (*scheduler.SyncProbesResponse, error)
- func (m_2 *MockScheduler_SyncProbesClient) RecvMsg(m interface{}) error
- func (m *MockScheduler_SyncProbesClient) Send(arg0 *scheduler.SyncProbesRequest) error
- func (m_2 *MockScheduler_SyncProbesClient) SendMsg(m interface{}) error
- func (m *MockScheduler_SyncProbesClient) Trailer() metadata.MD
- type MockScheduler_SyncProbesClientMockRecorder
- func (mr *MockScheduler_SyncProbesClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockScheduler_SyncProbesClientMockRecorder) Context() *gomock.Call
- func (mr *MockScheduler_SyncProbesClientMockRecorder) Header() *gomock.Call
- func (mr *MockScheduler_SyncProbesClientMockRecorder) Recv() *gomock.Call
- func (mr *MockScheduler_SyncProbesClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesClientMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesClientMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesClientMockRecorder) Trailer() *gomock.Call
- type MockScheduler_SyncProbesServer
- func (m *MockScheduler_SyncProbesServer) Context() context.Context
- func (m *MockScheduler_SyncProbesServer) EXPECT() *MockScheduler_SyncProbesServerMockRecorder
- func (m *MockScheduler_SyncProbesServer) Recv() (*scheduler.SyncProbesRequest, error)
- func (m_2 *MockScheduler_SyncProbesServer) RecvMsg(m interface{}) error
- func (m *MockScheduler_SyncProbesServer) Send(arg0 *scheduler.SyncProbesResponse) error
- func (m *MockScheduler_SyncProbesServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockScheduler_SyncProbesServer) SendMsg(m interface{}) error
- func (m *MockScheduler_SyncProbesServer) SetHeader(arg0 metadata.MD) error
- func (m *MockScheduler_SyncProbesServer) SetTrailer(arg0 metadata.MD)
- type MockScheduler_SyncProbesServerMockRecorder
- func (mr *MockScheduler_SyncProbesServerMockRecorder) Context() *gomock.Call
- func (mr *MockScheduler_SyncProbesServerMockRecorder) Recv() *gomock.Call
- func (mr *MockScheduler_SyncProbesServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesServerMockRecorder) Send(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesServerMockRecorder) SendMsg(m interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
- func (mr *MockScheduler_SyncProbesServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
- type MockUnsafeSchedulerServer
- type MockUnsafeSchedulerServerMockRecorder
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) AnnounceHost ¶ added in v1.2.5
func (m *MockSchedulerClient) AnnounceHost(ctx context.Context, in *scheduler.AnnounceHostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
AnnounceHost mocks base method.
func (*MockSchedulerClient) AnnouncePeer ¶
func (m *MockSchedulerClient) AnnouncePeer(ctx context.Context, opts ...grpc.CallOption) (scheduler.Scheduler_AnnouncePeerClient, error)
AnnouncePeer mocks base method.
func (*MockSchedulerClient) EXPECT ¶
func (m *MockSchedulerClient) EXPECT() *MockSchedulerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSchedulerClient) ExchangePeer ¶
func (m *MockSchedulerClient) ExchangePeer(ctx context.Context, in *scheduler.ExchangePeerRequest, opts ...grpc.CallOption) (*scheduler.ExchangePeerResponse, error)
ExchangePeer mocks base method.
func (*MockSchedulerClient) LeaveHost ¶ added in v1.2.2
func (m *MockSchedulerClient) LeaveHost(ctx context.Context, in *scheduler.LeaveHostRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
LeaveHost mocks base method.
func (*MockSchedulerClient) LeavePeer ¶
func (m *MockSchedulerClient) LeavePeer(ctx context.Context, in *scheduler.LeavePeerRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
LeavePeer mocks base method.
func (*MockSchedulerClient) StatPeer ¶
func (m *MockSchedulerClient) StatPeer(ctx context.Context, in *scheduler.StatPeerRequest, opts ...grpc.CallOption) (*common.Peer, error)
StatPeer mocks base method.
func (*MockSchedulerClient) StatTask ¶
func (m *MockSchedulerClient) StatTask(ctx context.Context, in *scheduler.StatTaskRequest, opts ...grpc.CallOption) (*common.Task, error)
StatTask mocks base method.
func (*MockSchedulerClient) SyncProbes ¶ added in v1.4.8
func (m *MockSchedulerClient) SyncProbes(ctx context.Context, opts ...grpc.CallOption) (scheduler.Scheduler_SyncProbesClient, error)
SyncProbes mocks base method.
type MockSchedulerClientMockRecorder ¶
type MockSchedulerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerClientMockRecorder is the mock recorder for MockSchedulerClient.
func (*MockSchedulerClientMockRecorder) AnnounceHost ¶ added in v1.2.5
func (mr *MockSchedulerClientMockRecorder) AnnounceHost(ctx, in interface{}, opts ...interface{}) *gomock.Call
AnnounceHost indicates an expected call of AnnounceHost.
func (*MockSchedulerClientMockRecorder) AnnouncePeer ¶
func (mr *MockSchedulerClientMockRecorder) AnnouncePeer(ctx interface{}, opts ...interface{}) *gomock.Call
AnnouncePeer indicates an expected call of AnnouncePeer.
func (*MockSchedulerClientMockRecorder) ExchangePeer ¶
func (mr *MockSchedulerClientMockRecorder) ExchangePeer(ctx, in interface{}, opts ...interface{}) *gomock.Call
ExchangePeer indicates an expected call of ExchangePeer.
func (*MockSchedulerClientMockRecorder) LeaveHost ¶ added in v1.2.2
func (mr *MockSchedulerClientMockRecorder) LeaveHost(ctx, in interface{}, opts ...interface{}) *gomock.Call
LeaveHost indicates an expected call of LeaveHost.
func (*MockSchedulerClientMockRecorder) LeavePeer ¶
func (mr *MockSchedulerClientMockRecorder) LeavePeer(ctx, in interface{}, opts ...interface{}) *gomock.Call
LeavePeer indicates an expected call of LeavePeer.
func (*MockSchedulerClientMockRecorder) StatPeer ¶
func (mr *MockSchedulerClientMockRecorder) StatPeer(ctx, in interface{}, opts ...interface{}) *gomock.Call
StatPeer indicates an expected call of StatPeer.
func (*MockSchedulerClientMockRecorder) StatTask ¶
func (mr *MockSchedulerClientMockRecorder) StatTask(ctx, in interface{}, opts ...interface{}) *gomock.Call
StatTask indicates an expected call of StatTask.
func (*MockSchedulerClientMockRecorder) SyncProbes ¶ added in v1.4.8
func (mr *MockSchedulerClientMockRecorder) SyncProbes(ctx interface{}, opts ...interface{}) *gomock.Call
SyncProbes indicates an expected call of SyncProbes.
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) AnnounceHost ¶ added in v1.2.5
func (m *MockSchedulerServer) AnnounceHost(arg0 context.Context, arg1 *scheduler.AnnounceHostRequest) (*emptypb.Empty, error)
AnnounceHost mocks base method.
func (*MockSchedulerServer) AnnouncePeer ¶
func (m *MockSchedulerServer) AnnouncePeer(arg0 scheduler.Scheduler_AnnouncePeerServer) error
AnnouncePeer mocks base method.
func (*MockSchedulerServer) EXPECT ¶
func (m *MockSchedulerServer) EXPECT() *MockSchedulerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSchedulerServer) ExchangePeer ¶
func (m *MockSchedulerServer) ExchangePeer(arg0 context.Context, arg1 *scheduler.ExchangePeerRequest) (*scheduler.ExchangePeerResponse, error)
ExchangePeer mocks base method.
func (*MockSchedulerServer) LeaveHost ¶ added in v1.2.2
func (m *MockSchedulerServer) LeaveHost(arg0 context.Context, arg1 *scheduler.LeaveHostRequest) (*emptypb.Empty, error)
LeaveHost mocks base method.
func (*MockSchedulerServer) LeavePeer ¶
func (m *MockSchedulerServer) LeavePeer(arg0 context.Context, arg1 *scheduler.LeavePeerRequest) (*emptypb.Empty, error)
LeavePeer mocks base method.
func (*MockSchedulerServer) StatPeer ¶
func (m *MockSchedulerServer) StatPeer(arg0 context.Context, arg1 *scheduler.StatPeerRequest) (*common.Peer, error)
StatPeer mocks base method.
func (*MockSchedulerServer) StatTask ¶
func (m *MockSchedulerServer) StatTask(arg0 context.Context, arg1 *scheduler.StatTaskRequest) (*common.Task, error)
StatTask mocks base method.
func (*MockSchedulerServer) SyncProbes ¶ added in v1.4.8
func (m *MockSchedulerServer) SyncProbes(arg0 scheduler.Scheduler_SyncProbesServer) error
SyncProbes mocks base method.
type MockSchedulerServerMockRecorder ¶
type MockSchedulerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockSchedulerServerMockRecorder is the mock recorder for MockSchedulerServer.
func (*MockSchedulerServerMockRecorder) AnnounceHost ¶ added in v1.2.5
func (mr *MockSchedulerServerMockRecorder) AnnounceHost(arg0, arg1 interface{}) *gomock.Call
AnnounceHost indicates an expected call of AnnounceHost.
func (*MockSchedulerServerMockRecorder) AnnouncePeer ¶
func (mr *MockSchedulerServerMockRecorder) AnnouncePeer(arg0 interface{}) *gomock.Call
AnnouncePeer indicates an expected call of AnnouncePeer.
func (*MockSchedulerServerMockRecorder) ExchangePeer ¶
func (mr *MockSchedulerServerMockRecorder) ExchangePeer(arg0, arg1 interface{}) *gomock.Call
ExchangePeer indicates an expected call of ExchangePeer.
func (*MockSchedulerServerMockRecorder) LeaveHost ¶ added in v1.2.2
func (mr *MockSchedulerServerMockRecorder) LeaveHost(arg0, arg1 interface{}) *gomock.Call
LeaveHost indicates an expected call of LeaveHost.
func (*MockSchedulerServerMockRecorder) LeavePeer ¶
func (mr *MockSchedulerServerMockRecorder) LeavePeer(arg0, arg1 interface{}) *gomock.Call
LeavePeer indicates an expected call of LeavePeer.
func (*MockSchedulerServerMockRecorder) StatPeer ¶
func (mr *MockSchedulerServerMockRecorder) StatPeer(arg0, arg1 interface{}) *gomock.Call
StatPeer indicates an expected call of StatPeer.
func (*MockSchedulerServerMockRecorder) StatTask ¶
func (mr *MockSchedulerServerMockRecorder) StatTask(arg0, arg1 interface{}) *gomock.Call
StatTask indicates an expected call of StatTask.
func (*MockSchedulerServerMockRecorder) SyncProbes ¶ added in v1.4.8
func (mr *MockSchedulerServerMockRecorder) SyncProbes(arg0 interface{}) *gomock.Call
SyncProbes indicates an expected call of SyncProbes.
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 ¶
func (m *MockScheduler_AnnouncePeerClient) Context() context.Context
Context mocks base method.
func (*MockScheduler_AnnouncePeerClient) EXPECT ¶
func (m *MockScheduler_AnnouncePeerClient) EXPECT() *MockScheduler_AnnouncePeerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduler_AnnouncePeerClient) Header ¶
func (m *MockScheduler_AnnouncePeerClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockScheduler_AnnouncePeerClient) Recv ¶
func (m *MockScheduler_AnnouncePeerClient) Recv() (*scheduler.AnnouncePeerResponse, error)
Recv mocks base method.
func (*MockScheduler_AnnouncePeerClient) RecvMsg ¶
func (m_2 *MockScheduler_AnnouncePeerClient) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockScheduler_AnnouncePeerClient) Send ¶
func (m *MockScheduler_AnnouncePeerClient) Send(arg0 *scheduler.AnnouncePeerRequest) error
Send mocks base method.
func (*MockScheduler_AnnouncePeerClient) SendMsg ¶
func (m_2 *MockScheduler_AnnouncePeerClient) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockScheduler_AnnouncePeerClient) Trailer ¶
func (m *MockScheduler_AnnouncePeerClient) Trailer() metadata.MD
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 ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockScheduler_AnnouncePeerClientMockRecorder) Context ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockScheduler_AnnouncePeerClientMockRecorder) Header ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockScheduler_AnnouncePeerClientMockRecorder) Recv ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockScheduler_AnnouncePeerClientMockRecorder) RecvMsg ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockScheduler_AnnouncePeerClientMockRecorder) Send ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockScheduler_AnnouncePeerClientMockRecorder) SendMsg ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockScheduler_AnnouncePeerClientMockRecorder) Trailer ¶
func (mr *MockScheduler_AnnouncePeerClientMockRecorder) Trailer() *gomock.Call
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 ¶
func (m *MockScheduler_AnnouncePeerServer) Context() context.Context
Context mocks base method.
func (*MockScheduler_AnnouncePeerServer) EXPECT ¶
func (m *MockScheduler_AnnouncePeerServer) EXPECT() *MockScheduler_AnnouncePeerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduler_AnnouncePeerServer) Recv ¶
func (m *MockScheduler_AnnouncePeerServer) Recv() (*scheduler.AnnouncePeerRequest, error)
Recv mocks base method.
func (*MockScheduler_AnnouncePeerServer) RecvMsg ¶
func (m_2 *MockScheduler_AnnouncePeerServer) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockScheduler_AnnouncePeerServer) Send ¶
func (m *MockScheduler_AnnouncePeerServer) Send(arg0 *scheduler.AnnouncePeerResponse) error
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 interface{}) error
SendMsg mocks base method.
func (*MockScheduler_AnnouncePeerServer) SetHeader ¶
func (m *MockScheduler_AnnouncePeerServer) SetHeader(arg0 metadata.MD) error
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 ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockScheduler_AnnouncePeerServerMockRecorder) Recv ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockScheduler_AnnouncePeerServerMockRecorder) RecvMsg ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockScheduler_AnnouncePeerServerMockRecorder) Send ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockScheduler_AnnouncePeerServerMockRecorder) SendHeader ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockScheduler_AnnouncePeerServerMockRecorder) SendMsg ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockScheduler_AnnouncePeerServerMockRecorder) SetHeader ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockScheduler_AnnouncePeerServerMockRecorder) SetTrailer ¶
func (mr *MockScheduler_AnnouncePeerServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockScheduler_SyncProbesClient ¶ added in v1.4.8
type MockScheduler_SyncProbesClient struct {
// contains filtered or unexported fields
}
MockScheduler_SyncProbesClient is a mock of Scheduler_SyncProbesClient interface.
func NewMockScheduler_SyncProbesClient ¶ added in v1.4.8
func NewMockScheduler_SyncProbesClient(ctrl *gomock.Controller) *MockScheduler_SyncProbesClient
NewMockScheduler_SyncProbesClient creates a new mock instance.
func (*MockScheduler_SyncProbesClient) CloseSend ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesClient) CloseSend() error
CloseSend mocks base method.
func (*MockScheduler_SyncProbesClient) Context ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesClient) Context() context.Context
Context mocks base method.
func (*MockScheduler_SyncProbesClient) EXPECT ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesClient) EXPECT() *MockScheduler_SyncProbesClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduler_SyncProbesClient) Header ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockScheduler_SyncProbesClient) Recv ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesClient) Recv() (*scheduler.SyncProbesResponse, error)
Recv mocks base method.
func (*MockScheduler_SyncProbesClient) RecvMsg ¶ added in v1.4.8
func (m_2 *MockScheduler_SyncProbesClient) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockScheduler_SyncProbesClient) Send ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesClient) Send(arg0 *scheduler.SyncProbesRequest) error
Send mocks base method.
func (*MockScheduler_SyncProbesClient) SendMsg ¶ added in v1.4.8
func (m_2 *MockScheduler_SyncProbesClient) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockScheduler_SyncProbesClient) Trailer ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesClient) Trailer() metadata.MD
Trailer mocks base method.
type MockScheduler_SyncProbesClientMockRecorder ¶ added in v1.4.8
type MockScheduler_SyncProbesClientMockRecorder struct {
// contains filtered or unexported fields
}
MockScheduler_SyncProbesClientMockRecorder is the mock recorder for MockScheduler_SyncProbesClient.
func (*MockScheduler_SyncProbesClientMockRecorder) CloseSend ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockScheduler_SyncProbesClientMockRecorder) Context ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockScheduler_SyncProbesClientMockRecorder) Header ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockScheduler_SyncProbesClientMockRecorder) Recv ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockScheduler_SyncProbesClientMockRecorder) RecvMsg ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockScheduler_SyncProbesClientMockRecorder) Send ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockScheduler_SyncProbesClientMockRecorder) SendMsg ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockScheduler_SyncProbesClientMockRecorder) Trailer ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockScheduler_SyncProbesServer ¶ added in v1.4.8
type MockScheduler_SyncProbesServer struct {
// contains filtered or unexported fields
}
MockScheduler_SyncProbesServer is a mock of Scheduler_SyncProbesServer interface.
func NewMockScheduler_SyncProbesServer ¶ added in v1.4.8
func NewMockScheduler_SyncProbesServer(ctrl *gomock.Controller) *MockScheduler_SyncProbesServer
NewMockScheduler_SyncProbesServer creates a new mock instance.
func (*MockScheduler_SyncProbesServer) Context ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesServer) Context() context.Context
Context mocks base method.
func (*MockScheduler_SyncProbesServer) EXPECT ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesServer) EXPECT() *MockScheduler_SyncProbesServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScheduler_SyncProbesServer) Recv ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesServer) Recv() (*scheduler.SyncProbesRequest, error)
Recv mocks base method.
func (*MockScheduler_SyncProbesServer) RecvMsg ¶ added in v1.4.8
func (m_2 *MockScheduler_SyncProbesServer) RecvMsg(m interface{}) error
RecvMsg mocks base method.
func (*MockScheduler_SyncProbesServer) Send ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesServer) Send(arg0 *scheduler.SyncProbesResponse) error
Send mocks base method.
func (*MockScheduler_SyncProbesServer) SendHeader ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockScheduler_SyncProbesServer) SendMsg ¶ added in v1.4.8
func (m_2 *MockScheduler_SyncProbesServer) SendMsg(m interface{}) error
SendMsg mocks base method.
func (*MockScheduler_SyncProbesServer) SetHeader ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockScheduler_SyncProbesServer) SetTrailer ¶ added in v1.4.8
func (m *MockScheduler_SyncProbesServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockScheduler_SyncProbesServerMockRecorder ¶ added in v1.4.8
type MockScheduler_SyncProbesServerMockRecorder struct {
// contains filtered or unexported fields
}
MockScheduler_SyncProbesServerMockRecorder is the mock recorder for MockScheduler_SyncProbesServer.
func (*MockScheduler_SyncProbesServerMockRecorder) Context ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockScheduler_SyncProbesServerMockRecorder) Recv ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockScheduler_SyncProbesServerMockRecorder) RecvMsg ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) RecvMsg(m interface{}) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockScheduler_SyncProbesServerMockRecorder) Send ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) Send(arg0 interface{}) *gomock.Call
Send indicates an expected call of Send.
func (*MockScheduler_SyncProbesServerMockRecorder) SendHeader ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) SendHeader(arg0 interface{}) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockScheduler_SyncProbesServerMockRecorder) SendMsg ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) SendMsg(m interface{}) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockScheduler_SyncProbesServerMockRecorder) SetHeader ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) SetHeader(arg0 interface{}) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockScheduler_SyncProbesServerMockRecorder) SetTrailer ¶ added in v1.4.8
func (mr *MockScheduler_SyncProbesServerMockRecorder) SetTrailer(arg0 interface{}) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
type MockUnsafeSchedulerServer ¶ added in v1.4.7
type MockUnsafeSchedulerServer struct {
// contains filtered or unexported fields
}
MockUnsafeSchedulerServer is a mock of UnsafeSchedulerServer interface.
func NewMockUnsafeSchedulerServer ¶ added in v1.4.7
func NewMockUnsafeSchedulerServer(ctrl *gomock.Controller) *MockUnsafeSchedulerServer
NewMockUnsafeSchedulerServer creates a new mock instance.
func (*MockUnsafeSchedulerServer) EXPECT ¶ added in v1.4.7
func (m *MockUnsafeSchedulerServer) EXPECT() *MockUnsafeSchedulerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockUnsafeSchedulerServerMockRecorder ¶ added in v1.4.7
type MockUnsafeSchedulerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockUnsafeSchedulerServerMockRecorder is the mock recorder for MockUnsafeSchedulerServer.