v1

package
v0.0.20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

func IsHostAzure(host string) bool

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

func NewAzureParserWithURL(fullURL string) (*AzureURL, error)

NewGitHubParserWithURL parsed instance of a github parser

func (*AzureURL) GetBranchName

func (az *AzureURL) GetBranchName() string

func (*AzureURL) GetHostName

func (az *AzureURL) GetHostName() string

func (*AzureURL) GetHttpCloneURL

func (az *AzureURL) GetHttpCloneURL() string

func (*AzureURL) GetOwnerName

func (az *AzureURL) GetOwnerName() string

func (*AzureURL) GetPath

func (az *AzureURL) GetPath() string

func (*AzureURL) GetProjectName

func (az *AzureURL) GetProjectName() string

func (*AzureURL) GetProvider

func (az *AzureURL) GetProvider() string

func (*AzureURL) GetRepoName

func (az *AzureURL) GetRepoName() string

func (*AzureURL) GetTag

func (az *AzureURL) GetTag() string

func (*AzureURL) GetToken

func (az *AzureURL) GetToken() string

func (*AzureURL) GetURL

func (az *AzureURL) GetURL() *url.URL

func (*AzureURL) Parse

func (az *AzureURL) Parse(fullURL string) error

Parse URL

func (*AzureURL) SetBranchName

func (az *AzureURL) SetBranchName(branch string)

func (*AzureURL) SetOwnerName

func (az *AzureURL) SetOwnerName(o string)

func (*AzureURL) SetPath

func (az *AzureURL) SetPath(p string)

func (*AzureURL) SetProjectName

func (az *AzureURL) SetProjectName(project string)

func (*AzureURL) SetRepoName

func (az *AzureURL) SetRepoName(r string)

func (*AzureURL) SetTag

func (az *AzureURL) SetTag(tag string)

func (*AzureURL) SetToken

func (az *AzureURL) SetToken(token string)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL