Documentation ¶
Overview ¶
Package github includes all of the client calls to github for building automation tools for deploystack
Index ¶
Constants ¶
View Source
const GITHUBHOST = "github.com"
GITHUBHOST is the hostname of where to find github on the web
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v1.11.0
type Option func(*Repo)
Option defines option functions that can be passed in to modify repos on New
type Repo ¶ added in v1.8.0
type Repo struct { Name string `json:"name" yaml:"name"` Owner string `json:"owner" yaml:"owner"` Branch string `json:"branch" yaml:"branch"` Description string `json:"description" yaml:"description"` }
Repo contains the details of a github repo for the purpose of downloading
func (Repo) Path ¶ added in v1.8.0
Path returns where this repo should exist locally given the input path
func (Repo) ReferenceName ¶ added in v1.8.0
ReferenceName is a shortcut to the reference for the current branch
Click to show internal directories.
Click to hide internal directories.