build

package
v0.0.0-...-c0d4d98 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OSLinux  = "Linux"
	OSDarwin = "macOS"
	OSWSL    = "WSL"
)

User-presentable names of operating systems supported by Devbox.

Variables

View Source
var (
	IsDev      = Version == "0.0.0-dev" && !forceProd
	Version    = "0.0.0-dev"
	Commit     = "none"
	CommitDate = "unknown"

	// SentryDSN is injected in the build from
	// https://jetpack-io.sentry.io/settings/projects/devbox/keys/
	// It is disabled by default.
	SentryDSN = ""
	// TelemetryKey is the Segment Write Key
	// https://segment.com/docs/connections/sources/catalog/libraries/server/go/quickstart/
	// It is disabled by default.
	TelemetryKey = ""
)

Variables in this file are set via ldflags.

Functions

func Audience

func Audience() []string

func ClientID

func ClientID() string

func DashboardHostname

func DashboardHostname() string

func Issuer

func Issuer() string

func JetpackAPIHost

func JetpackAPIHost() string

func OS

func OS() string

func SourceDir

func SourceDir() (string, error)

SourceDir searches for the source code directory that built the current binary.

func SuccessRedirect

func SuccessRedirect() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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