hosting_service

package
v0.0.0-...-00ab8b8 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2024 License: MIT Imports: 9 Imported by: 0

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(commitSha 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

Jump to

Keyboard shortcuts

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