constants

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// RestorePermissionAllowed is used to set the restore permission to ALLOWED for an environment
	RestorePermissionAllowed = "ALLOWED"

	// RestorePermissionNotAllowed is used to set the restore permission to NOT_ALLOWED for an environment
	RestorePermissionNotAllowed = "NOT_ALLOWED"

	BACKUP_COMPLETE  = "BACKUP_COMPLETE"
	RESTORE_COMPLETE = "RESTORE_COMPLETE"
	SYNC_COMPLETE    = "SYNC_COMPLETE"
)
View Source
const (
	ProjectRootNotFound = "project-root-not-found"

	GitDirectory = ".git"

	DISPLAY_ERRORS = "DISPLAY_ERRORS"
	SKIP_ERRORS    = "SKIP_ERRORS"
)
View Source
const (
	// BaseBinaryURL is where Ironstar releases are available
	BaseBinaryURL = "https://github.com/ironstar-io/ironstar-cli/releases/download/"

	// BaseInstallPathLinux is where Ironstar CLI binaries are installed on Linux
	BaseInstallPathLinux = ".ironstar/bin"

	// BaseInstallPathDarwin is where Ironstar CLI binaries are installed on macOS/Darwin
	BaseInstallPathDarwin = ".ironstar/bin"

	// BaseInstallPathWindows is where Ironstar CLI binaries are installed on Windows
	BaseInstallPathWindows = "AppData/Local/Ironstar/CLI"

	// BinaryNameLinux is the name of the Ironstar CLI Linux binary on Github
	BinaryNameLinux = "iron-linux-amd64"

	// BinaryNameIntelMacOS is the name of the Ironstar CLI (Intel) macOS binary on Github
	BinaryNameIntelMacOS = "iron-macos"

	// BinaryNameARMMacOS is the name of the Ironstar CLI (ARM) macOS binary on Github
	BinaryNameARMMacOS = "iron-macos-arm64"

	// BinaryNameWindows is the name of the Ironstar CLI Windows binary on Github
	BinaryNameWindows = "iron-windows.exe"

	// ActiveBinaryPathDarwin is the location of of the 'iron' command which is a symlink to the active Ironstar CLI version
	ActiveBinaryPathDarwin = "/usr/local/bin/iron"
)
View Source
const (
	PRE_DEPLOYMENT_BACKUP = "PRE_DEPLOYMENT_BACKUP"
)

Variables

This section is empty.

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