mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockGitlabClient added in v0.3.1

type MockGitlabClient struct {
	// contains filtered or unexported fields
}

MockGitlabClient is a mock of GitlabClient interface.

func NewMockGitlabClient added in v0.3.1

func NewMockGitlabClient(ctrl *gomock.Controller) *MockGitlabClient

NewMockGitlabClient creates a new mock instance.

func (*MockGitlabClient) CreateProject added in v0.3.1

CreateProject mocks base method.

func (*MockGitlabClient) CurrentUser added in v0.3.1

func (m *MockGitlabClient) CurrentUser(options ...gitlab.RequestOptionFunc) (*gitlab.User, *gitlab.Response, error)

CurrentUser mocks base method.

func (*MockGitlabClient) EXPECT added in v0.3.1

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockGitlabClient) GetProject added in v0.4.0

func (m *MockGitlabClient) GetProject(pid interface{}, opt *gitlab.GetProjectOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Project, *gitlab.Response, error)

GetProject mocks base method.

func (*MockGitlabClient) ListGroups added in v0.3.1

ListGroups mocks base method.

type MockGitlabClientMockRecorder added in v0.3.1

type MockGitlabClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockGitlabClientMockRecorder is the mock recorder for MockGitlabClient.

func (*MockGitlabClientMockRecorder) CreateProject added in v0.3.1

func (mr *MockGitlabClientMockRecorder) CreateProject(opt interface{}, options ...interface{}) *gomock.Call

CreateProject indicates an expected call of CreateProject.

func (*MockGitlabClientMockRecorder) CurrentUser added in v0.3.1

func (mr *MockGitlabClientMockRecorder) CurrentUser(options ...interface{}) *gomock.Call

CurrentUser indicates an expected call of CurrentUser.

func (*MockGitlabClientMockRecorder) GetProject added in v0.4.0

func (mr *MockGitlabClientMockRecorder) GetProject(pid, opt interface{}, options ...interface{}) *gomock.Call

GetProject indicates an expected call of GetProject.

func (*MockGitlabClientMockRecorder) ListGroups added in v0.3.1

func (mr *MockGitlabClientMockRecorder) ListGroups(opt interface{}, options ...interface{}) *gomock.Call

ListGroups indicates an expected call of ListGroups.

Jump to

Keyboard shortcuts

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