Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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) error
Will destroy resources related to machine
Types ¶
type Request ¶
type Request struct {
Prefix string
// Basic info to setup on cloud-init
Version string
Arch string
CPUs int32
Memory int32
VMType []string
InstanceRequest instancetypes.InstanceRequest
SubsUsername string
SubsUserpass string
// if profile SNC is enabled machine is setup to
// be used as SNC runner
ProfileSNC bool
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.