Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func (*Config) DefaultProposalMessage ¶
func (*Config) HostingServiceName ¶
func (*Config) NewProposalURL ¶
func (self *Config) NewProposalURL(branch, parentBranch domain.LocalBranchName) (string, error)
func (*Config) RepositoryURL ¶
type Connector ¶
type Connector struct { Config // contains filtered or unexported fields }
Connector provides standardized connectivity for the given repository (gitlab.com/owner/repo) via the GitLab API.
func NewConnector ¶
func NewConnector(args NewConnectorArgs) (*Connector, error)
NewGitlabConfig provides GitLab configuration data if the current repo is hosted on GitLab, otherwise nil.
func (*Connector) FindProposal ¶
func (*Connector) SquashMergeProposal ¶
func (*Connector) UpdateProposalTarget ¶
func (self *Connector) UpdateProposalTarget(number int, target domain.LocalBranchName) error
Click to show internal directories.
Click to hide internal directories.