mock_gitlab

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

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 MockGitlab

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

MockGitlab is a mock of Gitlab interface

func NewMockGitlab

func NewMockGitlab(ctrl *gomock.Controller) *MockGitlab

NewMockGitlab creates a new mock instance

func (*MockGitlab) EXPECT

func (m *MockGitlab) EXPECT() *MockGitlabMockRecorder

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

func (*MockGitlab) GetCurrentUser

func (m *MockGitlab) GetCurrentUser(userID string, token oauth2.Token) (*gitlab.UserInfo, error)

GetCurrentUser mocks base method

func (*MockGitlab) GetGroupHooks

func (m *MockGitlab) GetGroupHooks(user *gitlab.UserInfo, owner string) ([]*gitlab.WebhookInfo, error)

GetGroupHooks mocks base method

func (*MockGitlab) GetProject

func (m *MockGitlab) GetProject(user *gitlab.UserInfo, owner, repo string) (*gitlab0.Project, error)

GetProject mocks base method

func (*MockGitlab) GetProjectHooks

func (m *MockGitlab) GetProjectHooks(user *gitlab.UserInfo, owner, repo string) ([]*gitlab.WebhookInfo, error)

GetProjectHooks mocks base method

func (*MockGitlab) GetReviews

func (m *MockGitlab) GetReviews(user *gitlab.UserInfo) ([]*gitlab0.MergeRequest, error)

GetReviews mocks base method

func (*MockGitlab) GetUnreads

func (m *MockGitlab) GetUnreads(user *gitlab.UserInfo) ([]*gitlab0.Todo, error)

GetUnreads mocks base method

func (*MockGitlab) GetUserDetails

func (m *MockGitlab) GetUserDetails(user *gitlab.UserInfo) (*gitlab0.User, error)

GetUserDetails mocks base method

func (*MockGitlab) GetYourAssignments

func (m *MockGitlab) GetYourAssignments(user *gitlab.UserInfo) ([]*gitlab0.Issue, error)

GetYourAssignments mocks base method

func (*MockGitlab) GetYourPrs

func (m *MockGitlab) GetYourPrs(user *gitlab.UserInfo) ([]*gitlab0.MergeRequest, error)

GetYourPrs mocks base method

func (*MockGitlab) NewProjectHook

func (m *MockGitlab) NewProjectHook(user *gitlab.UserInfo, projectID interface{}, projectHookOptions *gitlab0.AddProjectHookOptions) (*gitlab0.ProjectHook, error)

NewProjectHook mocks base method

func (*MockGitlab) ResolveNamespaceAndProject

func (m *MockGitlab) ResolveNamespaceAndProject(userInfo *gitlab.UserInfo, fullPath string, allowPrivate bool) (string, string, error)

ResolveNamespaceAndProject mocks base method

type MockGitlabMockRecorder

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

MockGitlabMockRecorder is the mock recorder for MockGitlab

func (*MockGitlabMockRecorder) GetCurrentUser

func (mr *MockGitlabMockRecorder) GetCurrentUser(userID, token interface{}) *gomock.Call

GetCurrentUser indicates an expected call of GetCurrentUser

func (*MockGitlabMockRecorder) GetGroupHooks

func (mr *MockGitlabMockRecorder) GetGroupHooks(user, owner interface{}) *gomock.Call

GetGroupHooks indicates an expected call of GetGroupHooks

func (*MockGitlabMockRecorder) GetProject

func (mr *MockGitlabMockRecorder) GetProject(user, owner, repo interface{}) *gomock.Call

GetProject indicates an expected call of GetProject

func (*MockGitlabMockRecorder) GetProjectHooks

func (mr *MockGitlabMockRecorder) GetProjectHooks(user, owner, repo interface{}) *gomock.Call

GetProjectHooks indicates an expected call of GetProjectHooks

func (*MockGitlabMockRecorder) GetReviews

func (mr *MockGitlabMockRecorder) GetReviews(user interface{}) *gomock.Call

GetReviews indicates an expected call of GetReviews

func (*MockGitlabMockRecorder) GetUnreads

func (mr *MockGitlabMockRecorder) GetUnreads(user interface{}) *gomock.Call

GetUnreads indicates an expected call of GetUnreads

func (*MockGitlabMockRecorder) GetUserDetails

func (mr *MockGitlabMockRecorder) GetUserDetails(user interface{}) *gomock.Call

GetUserDetails indicates an expected call of GetUserDetails

func (*MockGitlabMockRecorder) GetYourAssignments

func (mr *MockGitlabMockRecorder) GetYourAssignments(user interface{}) *gomock.Call

GetYourAssignments indicates an expected call of GetYourAssignments

func (*MockGitlabMockRecorder) GetYourPrs

func (mr *MockGitlabMockRecorder) GetYourPrs(user interface{}) *gomock.Call

GetYourPrs indicates an expected call of GetYourPrs

func (*MockGitlabMockRecorder) NewProjectHook

func (mr *MockGitlabMockRecorder) NewProjectHook(user, projectID, projectHookOptions interface{}) *gomock.Call

NewProjectHook indicates an expected call of NewProjectHook

func (*MockGitlabMockRecorder) ResolveNamespaceAndProject

func (mr *MockGitlabMockRecorder) ResolveNamespaceAndProject(userInfo, fullPath, allowPrivate interface{}) *gomock.Call

ResolveNamespaceAndProject indicates an expected call of ResolveNamespaceAndProject

Jump to

Keyboard shortcuts

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