mocks

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 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) GetGroup added in v0.4.4

func (m *MockGitlabClient) GetGroup(gid interface{}, opt *gitlab.GetGroupOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Group, *gitlab.Response, error)

GetGroup mocks base method.

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.

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) GetGroup added in v0.4.4

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

GetGroup indicates an expected call of GetGroup.

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.

Jump to

Keyboard shortcuts

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