Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CloudConfigBase []byte
Functions ¶
func Create ¶
func Create(ctx *maptContext.ContextArgs, r *Request) error
Create orchestrate 2 stacks: If spot is enable it will run best spot option to get the best option to spin the machine Then it will run the stack for windows dedicated host
func Destroy ¶
func Destroy(ctx *maptContext.ContextArgs) (err error)
Will destroy resources related to machine
Types ¶
type Request ¶
type Request struct {
Prefix string
Version string
Arch string
InstanceRequest instancetypes.InstanceRequest
VMType []string
Spot bool
Airgap bool
// If timeout is set a severless scheduled task will be created to self destroy the resources
Timeout string
// setup as github actions runner
SetupGHActionsRunner bool
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.