Documentation
¶
Overview ¶
Mocks for GitLab client.
Package mock_gitlab is a generated GoMock package.
Index ¶
- type MockClientInterface
- func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
- func (m *MockClientInterface) GetAgentInfo(arg0 context.Context, arg1 *api.AgentMeta) (*api.AgentInfo, error)
- func (m *MockClientInterface) GetProjectInfo(arg0 context.Context, arg1 *api.AgentMeta, arg2 string) (*api.ProjectInfo, error)
- func (m *MockClientInterface) SendUsage(arg0 context.Context, arg1 *gitlab.UsageData) error
- type MockClientInterfaceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInterface ¶
type MockClientInterface struct {
// contains filtered or unexported fields
}
MockClientInterface is a mock of ClientInterface interface
func NewMockClientInterface ¶
func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface
NewMockClientInterface creates a new mock instance
func (*MockClientInterface) EXPECT ¶
func (m *MockClientInterface) EXPECT() *MockClientInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClientInterface) GetAgentInfo ¶
func (m *MockClientInterface) GetAgentInfo(arg0 context.Context, arg1 *api.AgentMeta) (*api.AgentInfo, error)
GetAgentInfo mocks base method
func (*MockClientInterface) GetProjectInfo ¶
func (m *MockClientInterface) GetProjectInfo(arg0 context.Context, arg1 *api.AgentMeta, arg2 string) (*api.ProjectInfo, error)
GetProjectInfo mocks base method
type MockClientInterfaceMockRecorder ¶
type MockClientInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface
func (*MockClientInterfaceMockRecorder) GetAgentInfo ¶
func (mr *MockClientInterfaceMockRecorder) GetAgentInfo(arg0, arg1 interface{}) *gomock.Call
GetAgentInfo indicates an expected call of GetAgentInfo
func (*MockClientInterfaceMockRecorder) GetProjectInfo ¶
func (mr *MockClientInterfaceMockRecorder) GetProjectInfo(arg0, arg1, arg2 interface{}) *gomock.Call
GetProjectInfo indicates an expected call of GetProjectInfo
func (*MockClientInterfaceMockRecorder) SendUsage ¶ added in v0.0.4
func (mr *MockClientInterfaceMockRecorder) SendUsage(arg0, arg1 interface{}) *gomock.Call
SendUsage indicates an expected call of SendUsage
Click to show internal directories.
Click to hide internal directories.