Documentation
¶
Overview ¶
Package github includes all of the client calls to github for building automation tools for deploystack
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Github ¶
type Github struct {
Repo string `json:"repo" yaml:"repo"`
Branch string `json:"branch" yaml:"branch"`
}
Github contains the details of a github repo for the purpose of downloading
type Meta ¶
type Meta struct {
DeployStack config.Config
Terraform terraform.Blocks `json:"terraform" yaml:"terraform"`
Github Github `json:"github" yaml:"github"`
LocalPath string `json:"localpath" yaml:"localpath"`
}
Meta is a datastructure that combines the Deploystack, github and Terraform bits of metadata about a stack.
func NewMeta ¶
NewMeta downloads a github repo and parses the DeployStack and Terraform information from the stack.
func NewMetaFromLocal ¶
NewMetaFromLocal allows project to point at local directories for info as well as pulling down from github
func (Meta) ShortNameUnderscore ¶
ShortNameUnderscore retrieves the shortname of whatever we are calling this stack replacing hyphens with underscores
Click to show internal directories.
Click to hide internal directories.