cirrus

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Windows Platform = "windows"
	Linux   Platform = "linux"
	Darwin  Platform = "darwin"

	Arm64 Arch = "arm64"
	Amd64 Arch = "amd64"
)

Functions

func CirrusPort

func CirrusPort() (*int, error)

If cirrus is enable it will return the port to be opened

func GetToken

func GetToken() string

Get token

func Init

func Init(args *PersistentWorkerArgs)

Types

type Arch

type Arch string

type PersistentWorkerArgs

type PersistentWorkerArgs struct {
	Name     string
	Token    string
	Platform *Platform
	Arch     *Arch
	Labels   map[string]string
}

func GetRunnerArgs added in v0.8.2

func GetRunnerArgs() *PersistentWorkerArgs

func (*PersistentWorkerArgs) GetSetupScriptTemplate added in v0.8.2

func (args *PersistentWorkerArgs) GetSetupScriptTemplate() string

func (*PersistentWorkerArgs) GetUserDataValues added in v0.8.2

func (args *PersistentWorkerArgs) GetUserDataValues() *integrations.UserDataValues

type Platform

type Platform string

Jump to

Keyboard shortcuts

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