Documentation ¶ Overview ¶ Portions taken from https://gist.github.com/devinodaniel/8f9b8a4f31573f428f29ec0e884e6673 Index ¶ func GenProjectName(sha string) string func NewAction(apiToken, organizationID, label string, enableBGP bool) (*action, error) func RandomString(size int) string type Project Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func GenProjectName ¶ func GenProjectName(sha string) string GenProjectName will generate a func NewAction ¶ func NewAction(apiToken, organizationID, label string, enableBGP bool) (*action, error) NewAction returns an action with a metal-go client func RandomString ¶ func RandomString(size int) string Types ¶ type Project ¶ type Project struct { Project *metal.Project SSHPrivateKey string SSHPublicKey string APIToken string } Source Files ¶ View all Source files action.go Click to show internal directories. Click to hide internal directories.