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