action

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Portions taken from https://gist.github.com/devinodaniel/8f9b8a4f31573f428f29ec0e884e6673

Index

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
}

Jump to

Keyboard shortcuts

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