cirrus

package
v0.11.1 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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