github

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Windows Platform = "win"
	Linux   Platform = "linux"
	Darwin  Platform = "osx"

	Arm64 Arch = "arm64"
	Amd64 Arch = "x64"
	Arm   Arch = "arm"
)

Functions

func GetToken

func GetToken() string

func Init added in v0.8.2

func Init(args *GithubRunnerArgs)

Types

type Arch added in v0.8.2

type Arch string

type GithubRunnerArgs

type GithubRunnerArgs struct {
	Token    string
	RepoURL  string
	Name     string
	Platform *Platform
	Arch     *Arch
	Labels   []string
	User     string
}

func GetRunnerArgs added in v0.8.2

func GetRunnerArgs() *GithubRunnerArgs

func (*GithubRunnerArgs) GetSetupScriptTemplate added in v0.8.2

func (args *GithubRunnerArgs) GetSetupScriptTemplate() string

func (*GithubRunnerArgs) GetUserDataValues added in v0.8.2

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

type Platform added in v0.8.2

type Platform string

Jump to

Keyboard shortcuts

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