constants

package
v0.0.0-...-960f7d7 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MPL-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package constants provides basic constants for the program

Index

Constants

View Source
const (
	// DefaultBaseImage for non-scratch builds.
	// renovate: datasource=docker versioning=docker depName=alpine
	DefaultBaseImage = "docker.io/alpine:3.18"

	// DefaultDirMode is UNIX file mode for mkdir.
	DefaultDirMode os.FileMode = 0o755

	// DefaultPath is default value for PATH environment variable.
	DefaultPath = "/bin:/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin"

	// PkgYaml is the filename of 'pkg.yaml'.
	PkgYaml = "pkg.yaml"

	// VarsYaml is the filename of 'vars.yaml'.
	VarsYaml = "vars.yaml"

	// Pkgfile is the filename of 'Pkgfile'.
	Pkgfile = "Pkgfile"

	CFLAGS    = "-g0 -Os"
	CXXFLAGS  = "-g0 -Os"
	LDFLAGS   = "-s"
	Vendor    = "getdroplet"
	Artifacts = "/artifacts"
	Toolchain = "/toolchain"
)

Variables

View Source
var (
	DefaultRegistry     string
	DefaultOrganization string
	Version             string
)

Set of variables set during the build.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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