Documentation ¶
Overview ¶
Package mock_agent_registrar is a generated GoMock package.
Index ¶
- type MockAgentRegistrarClient
- type MockAgentRegistrarClientMockRecorder
- type MockAgentRegistrarClientRegisterCall
- func (c *MockAgentRegistrarClientRegisterCall) Do(...) *MockAgentRegistrarClientRegisterCall
- func (c *MockAgentRegistrarClientRegisterCall) DoAndReturn(...) *MockAgentRegistrarClientRegisterCall
- func (c *MockAgentRegistrarClientRegisterCall) Return(arg0 *rpc.RegisterResponse, arg1 error) *MockAgentRegistrarClientRegisterCall
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(arg0 context.Context, arg1 *rpc.RegisterRequest, arg2 ...grpc.CallOption) (*rpc.RegisterResponse, error)
Register 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(arg0, arg1 any, arg2 ...any) *MockAgentRegistrarClientRegisterCall
Register indicates an expected call of Register.
type MockAgentRegistrarClientRegisterCall ¶ added in v16.8.0
MockAgentRegistrarClientRegisterCall wrap *gomock.Call
func (*MockAgentRegistrarClientRegisterCall) Do ¶ added in v16.8.0
func (c *MockAgentRegistrarClientRegisterCall) Do(f func(context.Context, *rpc.RegisterRequest, ...grpc.CallOption) (*rpc.RegisterResponse, error)) *MockAgentRegistrarClientRegisterCall
Do rewrite *gomock.Call.Do
func (*MockAgentRegistrarClientRegisterCall) DoAndReturn ¶ added in v16.8.0
func (c *MockAgentRegistrarClientRegisterCall) DoAndReturn(f func(context.Context, *rpc.RegisterRequest, ...grpc.CallOption) (*rpc.RegisterResponse, error)) *MockAgentRegistrarClientRegisterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockAgentRegistrarClientRegisterCall) Return ¶ added in v16.8.0
func (c *MockAgentRegistrarClientRegisterCall) Return(arg0 *rpc.RegisterResponse, arg1 error) *MockAgentRegistrarClientRegisterCall
Return rewrite *gomock.Call.Return
Click to show internal directories.
Click to hide internal directories.