mocks

package
v0.0.0-...-93ed7e7 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 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 GitlabGroup

type GitlabGroup struct {
	mock.Mock
}

GitlabGroup is an autogenerated mock type for the GitlabGroup type

func (*GitlabGroup) ListGroupProjects

func (_m *GitlabGroup) ListGroupProjects(gid interface{}, opt *gitlab.ListGroupProjectsOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)

ListGroupProjects provides a mock function with given fields: gid, opt, options

type GitlabMergeRequests

type GitlabMergeRequests struct {
	mock.Mock
}

GitlabMergeRequests is an autogenerated mock type for the GitlabMergeRequests type

func (*GitlabMergeRequests) GetMergeRequest

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

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

func (*GitlabMergeRequests) ListMergeRequests

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

func (*GitlabMergeRequests) ListProjectMergeRequests

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

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

type GitlabRepoFile

type GitlabRepoFile struct {
	mock.Mock
}

GitlabRepoFile is an autogenerated mock type for the GitlabRepoFile type

func (*GitlabRepoFile) GetRawFile

func (_m *GitlabRepoFile) GetRawFile(pid interface{}, fileName string, opt *gitlab.GetRawFileOptions, options ...gitlab.OptionFunc) ([]byte, *gitlab.Response, error)

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

type GitlabSearch

type GitlabSearch struct {
	mock.Mock
}

GitlabSearch is an autogenerated mock type for the GitlabSearch type

func (*GitlabSearch) MergeRequests

func (_m *GitlabSearch) MergeRequests(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)

MergeRequests provides a mock function with given fields: query, opt, options

func (*GitlabSearch) MergeRequestsByGroup

func (_m *GitlabSearch) MergeRequestsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)

MergeRequestsByGroup provides a mock function with given fields: gid, query, opt, options

func (*GitlabSearch) MergeRequestsByProject

func (_m *GitlabSearch) MergeRequestsByProject(pid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)

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

func (*GitlabSearch) Projects

func (_m *GitlabSearch) Projects(query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)

Projects provides a mock function with given fields: query, opt, options

func (*GitlabSearch) ProjectsByGroup

func (_m *GitlabSearch) ProjectsByGroup(gid interface{}, query string, opt *gitlab.SearchOptions, options ...gitlab.OptionFunc) ([]*gitlab.Project, *gitlab.Response, error)

ProjectsByGroup provides a mock function with given fields: gid, query, opt, options

type GitlabValidate

type GitlabValidate struct {
	mock.Mock
}

GitlabValidate is an autogenerated mock type for the GitlabValidate type

func (*GitlabValidate) Lint

func (_m *GitlabValidate) Lint(content string, options ...gitlab.OptionFunc) (*gitlab.LintResult, *gitlab.Response, error)

Lint provides a mock function with given fields: content, options

Jump to

Keyboard shortcuts

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