utils

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunnerData = RunnerDataType{}

Functions

func GetLinesFromBuffer

func GetLinesFromBuffer(logBuffer io.Reader) ([]string, error)

func ScanCRLF

func ScanCRLF(data []byte, atEOF bool) (advance int, token []byte, err error)

Types

type RunnerDataType

type RunnerDataType struct {
	//sync.Mutex
	RunnerRegion string
	AWSAccountID string
	CpuArchEnum  cpu_architecture_enums.Type
	OsType       os_enums.Type
	Mode         runner_enums.Mode
	TargetCloud  runner_enums.TargetCloud
}

func (*RunnerDataType) Get

func (r *RunnerDataType) Get() RunnerDataType

func (*RunnerDataType) Set

func (r *RunnerDataType) Set(runnerRegion, awsAccountID string, cpuArchEnum cpu_architecture_enums.Type,
	osType os_enums.Type, mode runner_enums.Mode, cloud runner_enums.TargetCloud)

Directories

Path Synopsis
certificates
clients
uploads

Jump to

Keyboard shortcuts

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