constants

package
v0.0.0-...-7eaa7e1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const ActCommandError = "command-error"

ActCommandErorr is the event action used for command errors

View Source
const ActCommandInputError = "command-input-error"

ActCommandInputError is the event action used for command input errors

View Source
const ActConfigSet = "set"

ActConfigSet is the event action sent when a configuration value is set

View Source
const ActConfigUnset = "unset"

ActConfigUnset is the event action sent when a configuration value is unset

View Source
const ActExecutorExit = "executor-exit"

ActExecutorExit is the event action used for executor exit codes

View Source
const ActOfflineInstallerAbort = "aborted"

ActOfflineInstallerAbort is the event action for the offline installer being terminated by the user

View Source
const ActOfflineInstallerFailure = "failure"

ActOfflineInstallerFailure is the event action for the offline installer/uninstaller failing

View Source
const ActOfflineInstallerStart = "start"

ActOfflineInstallerStart is the event action for the offline installer/uninstaller being initiated

View Source
const ActOfflineInstallerSuccess = "success"

ActOfflineInstallerStart is the event action for the offline installer/uninstaller succeeding

View Source
const ActRuntimeAttempt = "attempt"

ActRuntimeSuccess is the event action sent attempting to use a runtime

View Source
const ActRuntimeBuild = "build"

ActRuntimeBuild is the event action sent when starting a remote build for the project

View Source
const ActRuntimeCache = "cache"

ActRuntimeCache is the event action sent when a runtime is constructed from the local cache alone

View Source
const ActRuntimeDelete = "delete"

ActRuntimeDelete is the event action sent when uninstalling a runtime

View Source
const ActRuntimeDownload = "download"

ActRuntimeDownload is the event action sent before starting the download of artifacts for a runtime

View Source
const ActRuntimeFailure = "failure"

ActRuntimeFailure is the event action sent when a failure occurred anytime during a runtime operation

View Source
const ActRuntimeHeartbeat = "heartbeat"

ActRuntimeHeartbeat is the event action sent when a runtime is in use

View Source
const ActRuntimeInstall = "install"

ActRuntimeInstall is the event action sent before starting the install of artifacts for a runtime

View Source
const ActRuntimePostprocess = "postprocess"

ActRuntimePostprocess is the event action sent before starting the postprocess of artifacts for a runtime

View Source
const ActRuntimeStart = "start"

ActRuntimeStart is the event action sent when creating a runtime

View Source
const ActRuntimeSuccess = "success"

ActRuntimeSuccess is the event action sent when a runtime's environment has been successfully computed (for the first time)

View Source
const ActRuntimeUninstall = "uninstall"

ActRuntimeUninstall is the event action sent before starting the uninstall of artifacts for a runtime

View Source
const ActRuntimeUnpack = "unpack"

ActRuntimeUnpack is the event action sent before starting the unpack of artifacts for a runtime

View Source
const ActShouldUpdate = "should-autoupdate"

ActConfigGet is the event action sent when determining if an update should be checked

View Source
const ActUpdateCheck = "update-check"

ActConfigGet is the event action sent when an update is checked

View Source
const ActUpdateDownload = "download"

ActUpdateDownload is the event action sent when an update retrieved

View Source
const ActUpdateInstall = "install"

ActUpdateInstall is the event action sent when an update is installed

View Source
const ActUpdateRelaunch = "relaunch"

ActUpdateRelaunch is the event action sent after and update is installed and the state tool is relaunched

View Source
const ActVcsConflict = "vcs-conflict"

ActVcsConflict is the event action sent when `state pull` results in a conflict.

View Source
const CatActivationFlow = "activation"

CatActivationFlow is for events that outline the activation flow

View Source
const CatBuild = "build"

CatBuild is the event category used for headchef builds

View Source
const CatCommandError = "command-error"

CatCommandExit is the event category used to track the error that was returned from a command

View Source
const CatCommandExit = "command-exit"

CatCommandExit is the event category used to track the success of state commands

View Source
const CatConfig = "config"

CatConfig is the event category used for all configuration events

View Source
const CatDebug = "debug"

CatDebug is the event category used for all debug events

View Source
const CatInstaller = "installer"

CatInstaller is the event category used for installer events.

View Source
const CatInstallerFunnel = "installer-funnel"

CatInstallerFunnel is the event category used for installer funnel events.

View Source
const CatInteractions = "interactions"

CatInteractions is the event category used for tracking user interactions.

View Source
const CatMisc = "misc"

CatMist is for miscellaneous events

View Source
const CatOfflineInstaller = "offline-installer"

CatOfflineInstaller is the event category used for all data relating to offline installs and uninstalls

View Source
const CatPackageOp = "package-operation"

CatPackageOp is for `state packages` events

View Source
const CatPrompt = "prompt"

CatPrompt is for prompt events

View Source
const CatRunCmd = "run-command"

CatRunCmd is the event category used for running commands

View Source
const CatRuntimeDebug = "runtime-debug"

CatRuntimeDebug is the event category used for debugging runtime setup and usage. It should only be used to help diagnose where errors and dropoffs may be happening.

View Source
const CatRuntimeUsage = "runtime-use"

CatRuntimeUsage is the event category used for all runtime usage

View Source
const CatShim = "shim"

CatShim is the event category used for shimmed commands

View Source
const CatStateSvc = "state-svc"

CatStateSvc is for state-svc events

View Source
const CatUpdates = "updates"

CatUpdate is the event category used for all update events

View Source
const CfgSessionToken = "sessionToken"

CfgSessionToken is the configuration key for the session token the installer sets

View Source
const LabelVcsConflictMergeStrategyFailed = "Failed"

LabelVcsConflictMergeStrategyFailed is the label to use when a merge fails.

View Source
const LblRtFailUpdate = "update"

LblRtFailUpdate is the label sent with an ActRuntimeFailure event if an error occurred during a runtime update

View Source
const SrcExecutor = "Executor"

SrcExecutor is the event source for events sent by executors.

View Source
const SrcOfflineInstaller = "Offline Installer"

SrcOfflineInstaller is the event source for events sent by offline installers.

View Source
const SrcStateInstaller = "State Installer"

SrcStateInstaller is the event source for events sent by state-installer.

View Source
const SrcStateRemoteInstaller = "State Remote Installer"

SrcStateRemoteInstaller is the event source for events sent by state-remote-installer.

View Source
const SrcStateService = "State Service"

SrcStateService is the event source for events sent by state-svc.

View Source
const SrcStateTool = "State Tool"

SrcStateTool is the event source for events sent by state.

View Source
const UpdateErrorBlocked = "Update info request blocked or service unavailable"

UpdateErrorBlocked is sent if the update information was blocked or the service was unavailable

View Source
const UpdateErrorExecutable = "Could not locate state executable for relaunch"

UpdateErrorExecutable is sent if the state executable could not be located

View Source
const UpdateErrorFetch = "Could not fetch update info"

UpdateErrorFetch is sent if the update information could not be fetched

View Source
const UpdateErrorInProgress = "Update already in progress"

UpdateErrorInProgress is sent if an update is already in progress

View Source
const UpdateErrorInstallFailed = "Could not install update"

UpdateErrorInstallFailed is sent if an update failed at the install step

View Source
const UpdateErrorInstallPath = "Could not detect install path"

UpdateErrorInstallPath is sent if the install path could not be detected

View Source
const UpdateErrorNoInstaller = "Downloaded update does not have installer"

UpdateErrorNoInstaller is sent if the downloaded update does not have an installer

View Source
const UpdateErrorNotFound = "Update info could not be found"

UpdateErrorNotFound is sent if the update information could not be found

View Source
const UpdateErrorRelaunch = "Could not execute relaunch"

UpdateErrorRelaunch is sent if the updated state executable could not be relaunched

View Source
const UpdateErrorTempDir = "Could not create temp dir"

UpdateErrorTempDir is sent if the temp dir for update unpacking could not be created

View Source
const UpdateLabelAvailable = "available"

UpdateLabelAvailable is the sent if the update information is available

View Source
const UpdateLabelCI = "ci"

AutoUpdateLabelDisabledCI is sent if we should not auto-update as we are on CI

View Source
const UpdateLabelConflict = "conflict"

UpdateLabelConflict is sent if we should not auto-update as the current command might conflict

View Source
const UpdateLabelDisabledConfig = "disabled-config"

UpdateLabelDisabledConfig is sent if we should not auto-update as the user has disabled auto-updates via the config

View Source
const UpdateLabelDisabledEnv = "disabled-env"

UpdateLabelDisabledEnv is sent if we should not auto-update as the user has disabled auto-updates via the environment

View Source
const UpdateLabelFailed = "failure"

UpdateLabelFailed is sent if an auto-update failed

View Source
const UpdateLabelForward = "forward"

UpdateLabelForward is sent if we should not auto-update as we are forwarding a command

View Source
const UpdateLabelFreshInstall = "fresh-install"

UpdateLabelFreshInstall is sent if we should not auto-update as we are on a fresh install

View Source
const UpdateLabelLocked = "locked"

UpdateLabelLocked is sent if we should not auto-update as the state tool is locked

View Source
const UpdateLabelSkipChecks = "skip-checks"

UpdateLabelSkipChecks is sent if we should not auto-update because the command explicitly skips auto update checks.

View Source
const UpdateLabelStructuredOutput = "structured-output"

UpdateLabelStructuredOutput is sent if we should not auto-update because we're running in structured output (JSON) mode.

View Source
const UpdateLabelSuccess = "success"

UpdateLabelSuccess is sent if an auto-update was successful

View Source
const UpdateLabelTooFreq = "too-frequent"

UpdateLabelTooFreq is the sent if we should not auto-update as the last check was too recent

View Source
const UpdateLabelTrue = "true"

UpdateLabelTrue is sent if we should auto-update

View Source
const UpdateLabelUnavailable = "unavailable"

UpdateLabelUnavailable is the sent if the update information is unavailable

View Source
const UpdateLabelUnitTest = "unittest"

UpdateLabelUnitTest is sent if we should not auto-update as we are running unit tests

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