Documentation
¶
Index ¶
- Constants
- func IsHostGitLab(host string) bool
- type GitLabURL
- func (gl *GitLabURL) GetBranchName() string
- func (gl *GitLabURL) GetHostName() string
- func (gl *GitLabURL) GetHttpCloneURL() string
- func (gl *GitLabURL) GetOwnerName() string
- func (gl *GitLabURL) GetPath() string
- func (gl *GitLabURL) GetProjectName() string
- func (gl *GitLabURL) GetProvider() string
- func (gl *GitLabURL) GetRepoName() string
- func (gl *GitLabURL) GetToken() string
- func (gl *GitLabURL) GetURL() *url.URL
- func (gl *GitLabURL) Parse(fullURL string) error
- func (gl *GitLabURL) SetBranchName(branch string)
- func (gl *GitLabURL) SetOwnerName(o string)
- func (gl *GitLabURL) SetPath(p string)
- func (gl *GitLabURL) SetProjectName(project string)
- func (gl *GitLabURL) SetRepoName(r string)
- func (gl *GitLabURL) SetToken(token string)
Constants ¶
View Source
const HOST = "gitlab.com"
Variables ¶
This section is empty.
Functions ¶
func IsHostGitLab ¶
Types ¶
type GitLabURL ¶
type GitLabURL struct {
// contains filtered or unexported fields
}
func NewGitLabParser ¶
func NewGitLabParser() *GitLabURL
NewGitHubParser empty instance of a github parser
func NewGitLabParserWithURL ¶
NewGitHubParserWithURL parsed instance of a github parser
func (*GitLabURL) GetBranchName ¶
func (*GitLabURL) GetHostName ¶
func (*GitLabURL) GetHttpCloneURL ¶
func (*GitLabURL) GetOwnerName ¶
func (*GitLabURL) GetProjectName ¶
func (*GitLabURL) GetProvider ¶
func (*GitLabURL) GetRepoName ¶
func (*GitLabURL) SetBranchName ¶
func (*GitLabURL) SetOwnerName ¶
func (*GitLabURL) SetProjectName ¶
func (*GitLabURL) SetRepoName ¶
Click to show internal directories.
Click to hide internal directories.