Documentation ¶
Index ¶
- type GitGetGitlabI
- func (_m *GitGetGitlabI) CreateProject(repositorySha string, baseUrl string, projectName string, namespaceID int, ...) *gitlab.Project
- func (_m *GitGetGitlabI) FetchOwnerRepos(repositorySha string, baseURL string, groupName string, gitlabOwned bool, ...) []*gitlab.Project
- func (_m *GitGetGitlabI) GetProjectNamespace(repositorySha string, baseUrl string, projectNameFullPath string) (*gitlab.Namespace, string)
- func (_m *GitGetGitlabI) Init() bool
- func (_m *GitGetGitlabI) ProjectExists(repositorySha string, baseUrl string, projectName string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitGetGitlabI ¶
GitGetGitlabI is an autogenerated mock type for the GitGetGitlabI type
func NewGitGetGitlabI ¶ added in v0.0.17
func NewGitGetGitlabI(t interface { mock.TestingT Cleanup(func()) }) *GitGetGitlabI
NewGitGetGitlabI creates a new instance of GitGetGitlabI. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*GitGetGitlabI) CreateProject ¶
func (_m *GitGetGitlabI) CreateProject(repositorySha string, baseUrl string, projectName string, namespaceID int, mirrorVisibilityMode string, sourceURL string) *gitlab.Project
CreateProject provides a mock function with given fields: repositorySha, baseUrl, projectName, namespaceID, mirrorVisibilityMode, sourceURL
func (*GitGetGitlabI) FetchOwnerRepos ¶
func (_m *GitGetGitlabI) FetchOwnerRepos(repositorySha string, baseURL string, groupName string, gitlabOwned bool, gitlabVisibility string, gitlabMinAccessLevel string) []*gitlab.Project
FetchOwnerRepos provides a mock function with given fields: repositorySha, baseURL, groupName, gitlabOwned, gitlabVisibility, gitlabMinAccessLevel
func (*GitGetGitlabI) GetProjectNamespace ¶
func (_m *GitGetGitlabI) GetProjectNamespace(repositorySha string, baseUrl string, projectNameFullPath string) (*gitlab.Namespace, string)
GetProjectNamespace provides a mock function with given fields: repositorySha, baseUrl, projectNameFullPath
func (*GitGetGitlabI) Init ¶
func (_m *GitGetGitlabI) Init() bool
Init provides a mock function with given fields:
func (*GitGetGitlabI) ProjectExists ¶
func (_m *GitGetGitlabI) ProjectExists(repositorySha string, baseUrl string, projectName string) bool
ProjectExists provides a mock function with given fields: repositorySha, baseUrl, projectName