github_ee

package
v4.15.3 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2022 License: MIT Imports: 9 Imported by: 0

README

github ee

GitHub Enterprise Edition

This driver is catered for those who run GitHub Enterprise under private infrastructure.

The below URL scheme illustrates how to source migration files from GitHub Enterprise.

GitHub client for Go requires API and Uploads endpoint hosts in order to create an instance of GitHub Enterprise Client. We're making an assumption that the API and Uploads are available under https://api.* and https://uploads.* respectively. GitHub Enterprise Installation Guide recommends that you enable Subdomain isolation feature.

github-ee://user:personal-access-token@host/owner/repo/path?verify-tls=true#ref

URL Query WithInstance Config Description
user The username of the user connecting
personal-access-token Personal access token from your GitHub Enterprise instance
owner the repo owner
repo the name of the repository
path path in repo to migrations
ref (optional) can be a SHA, branch, or tag
verify-tls (optional) defaults to true. This option sets tls.Config.InsecureSkipVerify accordingly

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GithubEE

type GithubEE struct {
	source.Driver
}

func (*GithubEE) Open

func (g *GithubEE) Open(url string) (source.Driver, error)

Jump to

Keyboard shortcuts

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