Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HostingServiceMgr ¶
type HostingServiceMgr struct {
// contains filtered or unexported fields
}
func NewHostingServiceMgr ¶
func NewHostingServiceMgr(log logrus.FieldLogger, tr *i18n.TranslationSet, remoteURL string, configServiceDomains map[string]string) *HostingServiceMgr
NewHostingServiceMgr creates new instance of PullRequest
func (*HostingServiceMgr) GetCommitURL ¶
func (self *HostingServiceMgr) GetCommitURL(commitHash string) (string, error)
func (*HostingServiceMgr) GetPullRequestURL ¶
func (self *HostingServiceMgr) GetPullRequestURL(from string, to string) (string, error)
type Service ¶
type Service struct { ServiceDefinition // contains filtered or unexported fields }
type ServiceDefinition ¶
type ServiceDefinition struct {
// contains filtered or unexported fields
}
type ServiceDomain ¶
type ServiceDomain struct {
// contains filtered or unexported fields
}
a service domains pairs a service definition with the actual domain it's being served from. Sometimes the git service is hosted in a custom domains so although it'll use say the github service definition, it'll actually be served from e.g. my-custom-github.com
Click to show internal directories.
Click to hide internal directories.