Documentation ¶
Index ¶
- func CreateCredential(rackName string, optout bool) authPacket
- func InitializeStack(opts *InitOptions) (*initResponse, error)
- func NewServiceAccountPrivateKey(iamClient *iam.Service, rackName, pid string) (string, []byte, error)
- func TeardownStack(name, project, bucket string) error
- type InitOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCredential ¶
func InitializeStack ¶
func InitializeStack(opts *InitOptions) (*initResponse, error)
func TeardownStack ¶
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
}
Click to show internal directories.
Click to hide internal directories.