Documentation
¶
Index ¶
- type ClientMock
- func (c *ClientMock) GetProject(pid interface{}, opt *gitlab.GetProjectOptions, ...) (*gitlab.Project, *gitlab.Response, error)
- func (c *ClientMock) ListBranches(pid interface{}, opt *gitlab.ListBranchesOptions, ...) ([]*gitlab.Branch, *gitlab.Response, error)
- func (c *ClientMock) ListMergeRequestAwardEmoji(pid interface{}, mergeRequestIID int, opt *gitlab.ListAwardEmojiOptions, ...) ([]*gitlab.AwardEmoji, *gitlab.Response, error)
- func (c *ClientMock) ListProjectMergeRequests(pid interface{}, opt *gitlab.ListProjectMergeRequestsOptions, ...) ([]*gitlab.MergeRequest, *gitlab.Response, error)
- func (c *ClientMock) ListProtectedBranches(pid interface{}, opt *gitlab.ListProtectedBranchesOptions, ...) ([]*gitlab.ProtectedBranch, *gitlab.Response, error)
- func (c *ClientMock) Reset()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientMock ¶
func (*ClientMock) GetProject ¶
func (c *ClientMock) GetProject(pid interface{}, opt *gitlab.GetProjectOptions, options ...gitlab.RequestOptionFunc) (*gitlab.Project, *gitlab.Response, error)
func (*ClientMock) ListBranches ¶
func (c *ClientMock) ListBranches(pid interface{}, opt *gitlab.ListBranchesOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.Branch, *gitlab.Response, error)
func (*ClientMock) ListMergeRequestAwardEmoji ¶
func (c *ClientMock) ListMergeRequestAwardEmoji(pid interface{}, mergeRequestIID int, opt *gitlab.ListAwardEmojiOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.AwardEmoji, *gitlab.Response, error)
func (*ClientMock) ListProjectMergeRequests ¶
func (c *ClientMock) ListProjectMergeRequests(pid interface{}, opt *gitlab.ListProjectMergeRequestsOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.MergeRequest, *gitlab.Response, error)
func (*ClientMock) ListProtectedBranches ¶
func (c *ClientMock) ListProtectedBranches(pid interface{}, opt *gitlab.ListProtectedBranchesOptions, options ...gitlab.RequestOptionFunc) ([]*gitlab.ProtectedBranch, *gitlab.Response, error)
func (*ClientMock) Reset ¶
func (c *ClientMock) Reset()
Click to show internal directories.
Click to hide internal directories.