Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/module/agent_registrar/rpc (interfaces: AgentRegistrarClient)
Generated by this command:
mockgen -typed -destination agent_registrar.go -package mock_agent_registrar gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v16/internal/module/agent_registrar/rpc AgentRegistrarClient
Package mock_agent_registrar is a generated GoMock package.
Index ¶
- type AgentRegistrarClientRegisterCall
- func (c *AgentRegistrarClientRegisterCall) Do(...) *AgentRegistrarClientRegisterCall
- func (c *AgentRegistrarClientRegisterCall) DoAndReturn(...) *AgentRegistrarClientRegisterCall
- func (c *AgentRegistrarClientRegisterCall) Return(arg0 *rpc.RegisterResponse, arg1 error) *AgentRegistrarClientRegisterCall
- type MockAgentRegistrarClient
- type MockAgentRegistrarClientMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgentRegistrarClientRegisterCall ¶
AgentRegistrarClientRegisterCall wrap *gomock.Call
func (*AgentRegistrarClientRegisterCall) Do ¶
func (c *AgentRegistrarClientRegisterCall) Do(f func(context.Context, *rpc.RegisterRequest, ...grpc.CallOption) (*rpc.RegisterResponse, error)) *AgentRegistrarClientRegisterCall
Do rewrite *gomock.Call.Do
func (*AgentRegistrarClientRegisterCall) DoAndReturn ¶
func (c *AgentRegistrarClientRegisterCall) DoAndReturn(f func(context.Context, *rpc.RegisterRequest, ...grpc.CallOption) (*rpc.RegisterResponse, error)) *AgentRegistrarClientRegisterCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*AgentRegistrarClientRegisterCall) Return ¶
func (c *AgentRegistrarClientRegisterCall) Return(arg0 *rpc.RegisterResponse, arg1 error) *AgentRegistrarClientRegisterCall
Return rewrite *gomock.Call.Return
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) *AgentRegistrarClientRegisterCall
Register indicates an expected call of Register.