config

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 1 Imported by: 1

Documentation

Overview

Package config contains configuration strings for maru

Index

Constants

View Source
const (
	// TasksYAML is the string for the default tasks.yaml
	TasksYAML = "tasks.yaml"
)

Variables

View Source
var (
	// CLIArch is the computer architecture of the device executing the CLI commands
	CLIArch string

	// CLIVersion track the version of the CLI
	CLIVersion = "unset"

	// CmdPrefix is used to prefix Zarf cmds (like wait-for), useful when vendoring both the runner and Zarf
	// if not set, the system Zarf will be used
	CmdPrefix string

	// EnvPrefix is the prefix for viper configs and runner variables, useful when vendoring the runner
	EnvPrefix = "run"

	// LogLevel is the log level for the runner
	LogLevel string

	// TaskFileLocation is the location of the tasks file to run
	TaskFileLocation string

	// SetRunnerVariables is a map of the run time variables defined using --set
	SetRunnerVariables map[string]string

	// SkipLogFile is a flag to skip logging to a file
	SkipLogFile bool

	// TempDirectory is the directory to store temporary files
	TempDirectory string
)

Functions

func GetArch

func GetArch(archs ...string) string

GetArch returns the arch based on a priority list with options for overriding.

Types

This section is empty.

Directories

Path Synopsis
Package lang contains the language strings in english used by maru
Package lang contains the language strings in english used by maru

Jump to

Keyboard shortcuts

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