rhel

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(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(serverless bool) 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
}

Jump to

Keyboard shortcuts

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