Documentation ¶
Index ¶
Constants ¶
View Source
const ( FolderPathFormat = "%s/%s" TempFolderPath = "%s/temp_clone_path/%s" GitlabTokenENV = "GITLAB_TOKEN" GitRefTag = "refs/tags/%s" GitRefBranch = "refs/remotes/%s/%s" GitCredentialUrl = "url=%s" GitCredentialDeadLineMs = 500 GitCredentialUserNamePrefix = "username=" GitCredentialPasswordPrefix = "password=" GitlabUserENV = "GITLAB_USER" GithubTokenENV = "GITHUB_TOKEN" GithubUserENV = "GITHUB_USER" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Git ¶
type Git struct {
// contains filtered or unexported fields
}
func InitGitProvider ¶
func (*Git) CleanModulesFolders ¶
func (g *Git) CleanModulesFolders(modules map[string]*RemoteModule, modulesSource string) error
func (*Git) CloneModules ¶
Click to show internal directories.
Click to hide internal directories.