gcp

package
v1.0.0-alpha.19 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateCredential

func CreateCredential(rackName string, optout bool) authPacket

func InitializeStack

func InitializeStack(opts *InitOptions) (*initResponse, error)

func NewServiceAccountPrivateKey

func NewServiceAccountPrivateKey(iamClient *iam.Service, rackName, pid string) (string, []byte, error)

func TeardownStack

func TeardownStack(name, project, bucket string) error

Types

type InitOptions

type InitOptions struct {
	Name, Project, ClusterName, MachineType, Zone, Bucket string
	ApiKey, Version, Region, ArtifactBucket               string

	// SA stands for Service Account
	SAKeyPath, SAEmail, ClusterVersion string

	// Default machine type for controller/api
	ControllerMachineType string

	DiskSize, NumNodes, ControllerPort int
	ClusterNotExists, Preemptible      bool
}

Jump to

Keyboard shortcuts

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