Documentation ¶
Overview ¶
Package mock_agent_registrar is a generated GoMock package.
Index ¶
- type MockAgentRegistrarClient
- func (m *MockAgentRegistrarClient) EXPECT() *MockAgentRegistrarClientMockRecorder
- func (m *MockAgentRegistrarClient) Register(ctx context.Context, in *rpc.RegisterRequest, opts ...grpc.CallOption) (*rpc.RegisterResponse, error)
- func (m *MockAgentRegistrarClient) Unregister(ctx context.Context, in *rpc.UnregisterRequest, opts ...grpc.CallOption) (*rpc.UnregisterResponse, error)
- type MockAgentRegistrarClientMockRecorder
- type MockAgentRegistrarClientRegisterCall
- func (c *MockAgentRegistrarClientRegisterCall) Do(...) *MockAgentRegistrarClientRegisterCall
- func (c *MockAgentRegistrarClientRegisterCall) DoAndReturn(...) *MockAgentRegistrarClientRegisterCall
- func (c *MockAgentRegistrarClientRegisterCall) Return(arg0 *rpc.RegisterResponse, arg1 error) *MockAgentRegistrarClientRegisterCall
- type MockAgentRegistrarClientUnregisterCall
- func (c *MockAgentRegistrarClientUnregisterCall) Do(...) *MockAgentRegistrarClientUnregisterCall
- func (c *MockAgentRegistrarClientUnregisterCall) DoAndReturn(...) *MockAgentRegistrarClientUnregisterCall
- func (c *MockAgentRegistrarClientUnregisterCall) Return(arg0 *rpc.UnregisterResponse, arg1 error) *MockAgentRegistrarClientUnregisterCall
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAgentRegistrarClient ¶
type MockAgentRegistrarClient struct {
// contains filtered or unexported fields
}
MockAgentRegistrarClient is a mock of AgentRegistrarClient interface.
func NewMockAgentRegistrarClient ¶
func NewMockAgentRegistrarClient(ctrl *gomock.Controller) *MockAgentRegistrarClient
NewMockAgentRegistrarClient creates a new mock instance.
func (*MockAgentRegistrarClient) EXPECT ¶
func (m *MockAgentRegistrarClient) EXPECT() *MockAgentRegistrarClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentRegistrarClient) Register ¶
func (m *MockAgentRegistrarClient) Register(ctx context.Context, in *rpc.RegisterRequest, opts ...grpc.CallOption) (*rpc.RegisterResponse, error)
Register mocks base method.
func (*MockAgentRegistrarClient) Unregister ¶ added in v17.1.0
func (m *MockAgentRegistrarClient) Unregister(ctx context.Context, in *rpc.UnregisterRequest, opts ...grpc.CallOption) (*rpc.UnregisterResponse, error)
Unregister mocks base method.
type MockAgentRegistrarClientMockRecorder ¶
type MockAgentRegistrarClientMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentRegistrarClientMockRecorder is the mock recorder for MockAgentRegistrarClient.
func (*MockAgentRegistrarClientMockRecorder) Register ¶
func (mr *MockAgentRegistrarClientMockRecorder) Register(ctx, in any, opts ...any) *MockAgentRegistrarClientRegisterCall
Register indicates an expected call of Register.
func (*MockAgentRegistrarClientMockRecorder) Unregister ¶ added in v17.1.0
func (mr *MockAgentRegistrarClientMockRecorder) Unregister(ctx, in any, opts ...any) *MockAgentRegistrarClientUnregisterCall
Unregister indicates an expected call of Unregister.
type MockAgentRegistrarClientRegisterCall ¶
MockAgentRegistrarClientRegisterCall wrap *gomock.Call
func (*MockAgentRegistrarClientRegisterCall) Do ¶
func (c *MockAgentRegistrarClientRegisterCall) Do(f func(context.Context, *rpc.RegisterRequest, ...grpc.CallOption) (*rpc.RegisterResponse, error)) *MockAgentRegistrarClientRegisterCall
Do rewrite *gomock.Call.Do
func (*MockAgentRegistrarClientRegisterCall) DoAndReturn ¶
func (c *MockAgentRegistrarClientRegisterCall) DoAndReturn(f func(context.Context, *rpc.RegisterRequest, ...grpc.CallOption) (*rpc.RegisterResponse, error)) *MockAgentRegistrarClientRegisterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentRegistrarClientRegisterCall) Return ¶
func (c *MockAgentRegistrarClientRegisterCall) Return(arg0 *rpc.RegisterResponse, arg1 error) *MockAgentRegistrarClientRegisterCall
Return rewrite *gomock.Call.Return
type MockAgentRegistrarClientUnregisterCall ¶ added in v17.1.0
MockAgentRegistrarClientUnregisterCall wrap *gomock.Call
func (*MockAgentRegistrarClientUnregisterCall) Do ¶ added in v17.1.0
func (c *MockAgentRegistrarClientUnregisterCall) Do(f func(context.Context, *rpc.UnregisterRequest, ...grpc.CallOption) (*rpc.UnregisterResponse, error)) *MockAgentRegistrarClientUnregisterCall
Do rewrite *gomock.Call.Do
func (*MockAgentRegistrarClientUnregisterCall) DoAndReturn ¶ added in v17.1.0
func (c *MockAgentRegistrarClientUnregisterCall) DoAndReturn(f func(context.Context, *rpc.UnregisterRequest, ...grpc.CallOption) (*rpc.UnregisterResponse, error)) *MockAgentRegistrarClientUnregisterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentRegistrarClientUnregisterCall) Return ¶ added in v17.1.0
func (c *MockAgentRegistrarClientUnregisterCall) Return(arg0 *rpc.UnregisterResponse, arg1 error) *MockAgentRegistrarClientUnregisterCall
Return rewrite *gomock.Call.Return