hosting

package
v13.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package hosting provides support for interacting with code hosting platforms. Commands like "propose", "repo", and "ship" use this package to know how to perform Git Town operations on GitHub, Gitlab, Bitbucket, etc. Implementations of connectors for particular code hosting platforms conform to the Connector interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Detect

func Detect(originURL *giturl.Parts, hostingPlatform configdomain.HostingPlatform) configdomain.HostingPlatform

func NewConnector

func NewConnector(args NewConnectorArgs) (hostingdomain.Connector, error)

NewConnector provides an instance of the code hosting connector to use based on the given gitConfig.

Types

type NewConnectorArgs

type NewConnectorArgs struct {
	*configdomain.FullConfig
	HostingPlatform configdomain.HostingPlatform
	Log             print.Logger
	OriginURL       *giturl.Parts
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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