mocks

package
v0.0.0-...-8f56db8 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IssuesService

type IssuesService struct {
	mock.Mock
}

IssuesService is an autogenerated mock type for the IssuesService type

func (*IssuesService) ListIssues

ListIssues provides a mock function with given fields: opt, options

func (*IssuesService) ListProjectIssues

func (_m *IssuesService) ListProjectIssues(pid interface{}, opt *gitlab.ListProjectIssuesOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.Issue, *gitlab.Response, error)

ListProjectIssues provides a mock function with given fields: pid, opt, options

type MergeRequestsService

type MergeRequestsService struct {
	mock.Mock
}

MergeRequestsService is an autogenerated mock type for the MergeRequestsService type

func (*MergeRequestsService) GetMergeRequest

func (_m *MergeRequestsService) GetMergeRequest(pid interface{}, mergeRequest int, opt *gitlab.GetMergeRequestsOptions, options ...gitlab.RequestOptionFunc) (*gitlab.MergeRequest, *gitlab.Response, error)

GetMergeRequest provides a mock function with given fields: pid, mergeRequest, opt, options

func (*MergeRequestsService) ListMergeRequestPipelines

func (_m *MergeRequestsService) ListMergeRequestPipelines(pid interface{}, mergeRequest int, options ...gitlab.RequestOptionFunc) ([]*gitlab.PipelineInfo, *gitlab.Response, error)

ListMergeRequestPipelines provides a mock function with given fields: pid, mergeRequest, options

func (*MergeRequestsService) ListProjectMergeRequests

func (_m *MergeRequestsService) ListProjectMergeRequests(pid interface{}, opt *gitlab.ListProjectMergeRequestsOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)

ListProjectMergeRequests provides a mock function with given fields: pid, opt, options

type PipelinesService

type PipelinesService struct {
	mock.Mock
}

PipelinesService is an autogenerated mock type for the PipelinesService type

func (*PipelinesService) GetPipeline

func (_m *PipelinesService) GetPipeline(pid interface{}, pipeline int, options ...gitlab.RequestOptionFunc) (*gitlab.Pipeline, *gitlab.Response, error)

GetPipeline provides a mock function with given fields: pid, pipeline, options

func (*PipelinesService) ListProjectPipelines

func (_m *PipelinesService) ListProjectPipelines(pid interface{}, opt *gitlab.ListProjectPipelinesOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.PipelineInfo, *gitlab.Response, error)

ListProjectPipelines provides a mock function with given fields: pid, opt, options

type ProjectService

type ProjectService struct {
	mock.Mock
}

ProjectService is an autogenerated mock type for the ProjectService type

func (*ProjectService) GetProject

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

GetProject provides a mock function with given fields: pid, opt, options

Jump to

Keyboard shortcuts

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