mock_gitlab

package
v0.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Mocks for GitLab client.

Package mock_gitlab is a generated GoMock package.

Index

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

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

func (*MockClientInterface) SendUsage added in v0.0.4

func (m *MockClientInterface) SendUsage(arg0 context.Context, arg1 *gitlab.UsageData) error

SendUsage 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL