constants

package
v0.0.0-...-b6fc690 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Win10Bit64UUID = "78977bc8-0f32-519d-80f3-9043f059398c"
	LinuxBit64UUID = "7c998ec2-7491-4e75-be4d-8885800ef5f2"
	MacBit64UUID   = "46a5b48f-226a-4696-9746-ba4d50d661c2"
	ValidZeroUUID  = "00000000-0000-0000-0000-000000000000"
)

{OS}Bit{Depth}UUID constants are the UUIDs associated with the relevant OSes in the platform DB and leveraged by the Dashboard (PlatformMapping).

View Source
const (
	ApplicationDir        = ".local/share/applications"
	IconsDir              = ".local/share/icons/hicolor/scalable/apps"
	IconFileSource        = "icon.svg"
	ServiceLaunchFileName = "state-svc.desktop"
	ServiceIconFileName   = "state-svc.svg"
	ServiceGenericName    = "Language Runtime Service"
	ServiceComment        = "ActiveState Service"
	ServiceKeywords       = "activestate;state;language;runtime;python;perl;tcl;"
)
View Source
const APIArtifactURL = "https://s3.ca-central-1.amazonaws.com/cli-artifacts/"

APIArtifactURL is the URL for downloading artifacts

View Source
const APIHostEnvVarName = "ACTIVESTATE_API_HOST"

APIHostEnvVarName is the name of the environment variable that specifies the API host, specifying this overrides the activestate.yaml api url config

View Source
const APIInsecureEnvVarName = "ACTIVESTATE_API_INSECURE"

APIInsecureEnvVarName is the name of the environment variable that specifies whether the API hostURI should be insecure.

View Source
const APIKeyEnvVarName = "ACTIVESTATE_API_KEY"

APIKeyEnvVarName is the name of the environment variable that specifies the API Key to use for api authentication (overriding user config).

View Source
const APIServiceOverrideEnvVarName = "ACTIVESTATE_API_SERVICE_OVERRIDE_"

APIServiceOverrideEnvVarName is the name of the environment variable that specifies an optional override of the full API URL, the service name will be appended.

View Source
const APITokenNamePrefix = "activestate-platform-cli"

APITokenNamePrefix is the name we give our api token

View Source
const APIUpdateInfoURL = "https://platform.activestate.com/sv/state-update/api/v1"

APIUpdateInfoURL is the URL for our update info server

View Source
const APIUpdateURL = "https://state-tool.activestate.com/update/state"

APIUpdateURL is the URL for our update files

View Source
const ActivatedStateEnvVarName = "ACTIVESTATE_ACTIVATED"

ActivatedStateEnvVarName is the name of the environment variable that is set when in an activated state, its value will be the path of the project

View Source
const ActivatedStateIDEnvVarName = "ACTIVESTATE_ACTIVATED_ID"

ActivatedStateIDEnvVarName is the name of the environment variable that is set when in an activated state, its value will be a unique id identifying a specific instance of an activated state

View Source
const ActivatedStateNamespaceEnvVarName = "ACTIVESTATE_ACTIVATED_NAMESPACE"

ActivatedStateNamespaceEnvVarName is the name of the environment variable that specifies the activated state's org/project namespace.

View Source
const ActivePerlExecutable = "perl"

ActivePerlExecutable represents the ActivePerl executable.

View Source
const ActivePython2Executable = "python2"

ActivePython2Executable represents the ActivePython executable.

View Source
const ActivePython3Executable = "python3"

ActivePython3Executable represents the ActivePython executable.

View Source
const ActiveStateBlogURL = "" /* 140-byte string literal not displayed */

ActiveStateBlogURL is the URL for the ActiveState Blog

View Source
const ActiveStateCIEnvVarName = "ACTIVESTATE_CI"

ActiveStateCIEnvVarName is the environment variable set when running in an ActiveState CI environment.

View Source
const ActiveStateDashboardURL = "" /* 140-byte string literal not displayed */

ActiveStateDashboardURL is the URL for the ActiveState account preferences page

View Source
const ActiveStateSupportURL = "" /* 143-byte string literal not displayed */

ActiveStateSupportURL is the URL for the AciveState support page

View Source
const AnalyticsLogEnvVarName = "ACTIVESTATE_ANALYTICS_LOG"

AnalyticsLogEnvVarName is used to instruct State Tool to report analytics events to the given file

View Source
const AnalyticsPixelOverrideEnv = "ACTIVESTATE_CLI_ANALYTICS_PIXEL"

AnalyticsPixelOverrideEnv is the environment variable to check for overriding the analytics pixel url

View Source
const AnalyticsTrackingID = "UA-118120158-1"

AnalyticsTrackingID is our Google Analytics tracking ID

View Source
const AppInstallDirOverrideEnvVarName = "ACTIVESTATE_CLI_APPINSTALLDIR_OVERRIDE"

AppInstallDirOverrideEnvVarName is used to override the default app installation path of the state tool.

View Source
const AsyncRuntimeConfig = "optin.unstable.async_runtime"

AsyncRuntimeConfig is the config key used to determine whether the user has opted in to async runtimes

View Source
const AutoUpdateConfigKey = "autoupdate"

AutoUpdateConfigKey is the config key for storing whether or not autoupdates can be performed

View Source
const AutoUpdateTimeoutEnvVarName = "ACTIVESTATE_CLI_UPDATE_TIMEOUT"

AutoUpdateTimeoutEnvVarName is the name of the environment variable that can be set to override the allowed timeout to check for an available auto-update

View Source
const AutostartPathOverrideEnvVarName = "ACTIVESTATE_CLI_AUTOSTARTPATH_OVERRIDE"

AutostartPathOverrideEnvVarName is used to override the default autostart path of the state service.

View Source
const AutostartSvcConfigKey = "autostart.svc"

AutostartSvcConfigKey is the config key used to determine if the service should be run on startup.

View Source
const BetaChannel = "beta"

BetaChannel is the channel used for beta builds

View Source
const BugTrackerURL = "https://github.com/ActiveState/state-tool/issues"

BugTrackerURL is the URL of our bug tracker

View Source
const BuildLogStreamerPath = "/sv/build-log-streamer"

BuildLogStreamerPath is the websocket API used for streaming build results

View Source
const BuildPlannerAPIPath = "/sv/buildplanner/graphql"

BuildPlannerAPIPath is the path used for the build planner api

View Source
const BuildScriptFileName = "buildscript.as"

BuildScriptFileName holds the name of the file that represents the build script used to generate the runtime

View Source
const BuildplanAPIPath = "/sv/buildplanner/graphql"

BuildplanAPIPath is the path used for the build planner api

View Source
const CPUProfileEnvVarName = "ACTIVESTATE_PROFILE_CPU"

CPUProfileEnvVarName is the name of the environment variable that specifies whether CPU profiling should be run.

View Source
const CacheEnvVarName = "ACTIVESTATE_CLI_CACHEDIR"

CacheEnvVarName is the env var used to override the cache dir that the State Tool uses

View Source
const CheatSheetURL = "https://platform.activestate.com/state-tool-cheat-sheet"

CheatSheetURL is the URL for the State Tool Cheat Sheet

View Source
const CommandName = "state"

CommandName holds the name of our command

View Source
const ConfigEnvVarName = "ACTIVESTATE_CLI_CONFIGDIR"

ConfigEnvVarName is the env var used to override the config dir that the State Tool uses

View Source
const ConfigFileName = "activestate.yaml"

ConfigFileName holds the name of the file that the user uses to configure their project, not to be confused with InternalConfigFileNameLegacy

View Source
const DateFormatUser = "January 02, 2006"

DateFormatUser is the date format we use when communicating with the end-user

View Source
const DateTimeFormatRecord = "Mon Jan 2 2006 15:04:05 -0700 MST"

DateTimeFormatRecord is the datetime format we use when recording for internal use

View Source
const DateTimeFormatUser = "2 Jan 2006 15:04"

DateTimeFormatUser is the datetime format we use when communicating with the end-user

View Source
const DebugServiceRequestsEnvVarName = "ACTIVESTATE_DEBUG_SERVICE_REQUESTS"

DebugServiceRequestsEnvVarName is used to instruct State Tool to turn on debug logging of service requests

View Source
const DefaultAPIHost = "platform.activestate.com"

DefaultAPIHost is the host used for platform api calls when on production

View Source
const DefaultAnalyticsPixel = "https://state-tool.s3.amazonaws.com/pixel"

DefaultAnalyticsPixel is the default url for the analytics pixel

View Source
const DefaultBranchName = "main"

DefaultBranchName is the default branch name used on platform projects

View Source
const DefaultNamespaceDomain = "github.com"

DefaultNamespaceDomain is the domain used when no namespace is given and one has to be constructed

View Source
const DefaultRSABitLength int = 4096

DefaultRSABitLength represents the default RSA bit-length that will be assumed when generating new Keypairs.

View Source
const DisableActivateEventsEnvVarName = "ACTIVESTATE_CLI_DISABLE_ACTIVATE_EVENTS"

DisableActivateEventsEnvVarName is the environment variable used to disable events when activating or checking out a project

View Source
const DisableAnalyticsEnvVarName = "ACTIVESTATE_CLI_DISABLE_ANALYTICS"

DisableAnalyticsEnvVarName is used to instruct State Tool to not send data to Google Analytics.

View Source
const DisableBuildscriptDirtyCheck = "ACTIVESTATE_CLI_DISABLE_BS_DIRTY_CHECK"

DisableBuildscriptDirtyCheck is the env var used to disable the check for dirty buildscripts

View Source
const DisableErrorTipsEnvVarName = "ACTIVESTATE_CLI_DISABLE_ERROR_TIPS"

DisableErrorTipsEnvVarName disables the display of tips in error messages. This should only be used by the installer so-as not to pollute error message output.

View Source
const DisableLanguageTemplates = "ACTIVESTATE_CLI_DISABLE_LANGUAGE_TEMPLATES"

DisableLanguageTemplates is the env var used to disable templating for new activestate.yaml files

View Source
const DisableRuntime = "ACTIVESTATE_CLI_DISABLE_RUNTIME"

DisableRuntime is the env var used to disable downloading of runtimes, useful for CI or testing

View Source
const DisableUpdates = "ACTIVESTATE_CLI_DISABLE_UPDATES"

DisableUpdates is the env var used to disable automatic updates

View Source
const DocumentationURL = "http://docs.activestate.com/platform/state/"

DocumentationURL is the url for the state tool documentation

View Source
const DocumentationURLGetStarted = DocumentationURL + "create-project/?utm_source=platform-application-gui&utm_medium=activestate-desktop&utm_content=drop-down&utm_campaign=maru"

DocumentationURLGetStarted is the documentation URL for creating projects

View Source
const DocumentationURLLocking = DocumentationURL + "advanced-topics/locking/"

DocumentationURLLocking is the documentation URL for locking

View Source
const DocumentationURLMismatch = DocumentationURL + "troubleshooting/git-project-mismatch/"

DocumentationURLMismatch is the documentation URL for the project mismatch warning

View Source
const E2ETestEnvVarName = "ACTIVESTATE_E2E_TEST"

E2ETestEnvVarName is the name of the environment variable that specifies that we are running under E2E tests

View Source
const EnvironmentEnvVarName = "ACTIVESTATE_ENVIRONMENT"

EnvironmentEnvVarName is the name of the environment variable that specifies the current environment (dev, qa, prod, etc.)

View Source
const ExecRecursionAllowEnvVarName = "ACTIVESTATE_CLI_EXECUTOR_RECURSION_ALLOW"

ExecRecursionAllowEnvVarName is an environment variable overriding the recursion allowance

View Source
const ExecRecursionEnvVarName = "ACTIVESTATE_CLI_EXECUTOR_RECURSION"

ExecRecursionEnvVarName is an environment variable storing a string representation of the current recursion

View Source
const ExecRecursionLevelEnvVarName = "ACTIVESTATE_CLI_EXECUTOR_RECURSION_LEVEL"

ExecRecursionLevelEnvVarName is an environment variable storing the number of times the executor has been called recursively

View Source
const ExecRecursionMaxLevelEnvVarName = "ACTIVESTATE_CLI_EXECUTOR_MAX_RECURSION_LEVEL"

ExecRecursionMaxLevelEnvVarName is an environment variable storing the number of times the executor may be called recursively

View Source
const ExpanderMaxDepth = int(10)

ExpanderMaxDepth defines the maximum depth to fully expand a given value.

View Source
const ExperimentalChannel = "master"

ExperimentalChannel is the channel used for experimental builds

View Source
const FirstMultiFileStateToolVersion = "0.29.0"

FirstMultiFileStateToolVersion is the State Tool version that introduced multi-file updates

View Source
const ForceUpdateEnvVarName = "ACTIVESTATE_FORCE_UPDATE"

ForceUpdateEnvVarName is used to force state tool to update, regardless of whether the update is equal to the current version

View Source
const ForumsURL = "https://community.activestate.com/c/state-tool/"

ForumsURL is the URL to the state tool forums

View Source
const ForwardedStateEnvVarName = "ACTIVESTATE_FORWARDED"

ForwardedStateEnvVarName is the name of the environment variable that is set when in an activated state, its value will be the path of the project

View Source
const GlobalDefaultPrefname = "projects.active.path"

GlobalDefaultPrefname is the pref that holds the path to the globally defaulted project

View Source
const GraphqlAPIPath = "/graphql/v1/graphql"

GraphqlAPIPath is the path used for the platform graphql api

View Source
const HasuraInventoryAPIPath = "/sv/hasura-inventory/v1/graphql"

HasuraInventoryAPIPath is the path used for the hasura inventory api

View Source
const HeadChefAPIPath = "/sv/head-chef"

HeadChefAPIPath is the api path used for the headchef api

View Source
const HeartbeatIntervalEnvVarName = "ACTIVESTATE_HEARTBEAT_INTERVAL"

HeartbeatIntervalEnvVarName is the name of the environment variable used to override the heartbeat interval

View Source
const HomeEnvVarName = "ACTIVESTATE_HOME"

HomeEnvVarName is the fallback env var used to determine the user's home directory.

View Source
const InstallBuildDependenciesEnvVarName = "ACTIVESTATE_CLI_INSTALL_BUILD_DEPENDENCIES"

InstallBuildDependenciesEnvVarName is the env var that is used to override whether to install build dependencies

View Source
const InstallPathOverrideEnvVarName = "ACTIVESTATE_CLI_INSTALLPATH_OVERRIDE"

InstallPathOverrideEnvVarName is used to override the default installation path of the state tool. This is intended for use in our integration tests, not by end-users.

View Source
const InstallSourceFile = "installsource.txt"

InstallSourceFile is the file we use to record what installed the state tool

View Source
const InstallerName = "State Installer"

InstallerName is the name we give to our state-installer executable

View Source
const InstallerNoSubshell = "ACTIVESTATE_CLI_INSTALLER_NO_SUBSHELL"

InstallerNoSubshell is an environment variable that if set to true will tell the installer not to start a subshell

View Source
const InternalConfigFileName = "config.db"

InternalConfigFileName is the filename used for our sqlite based settings db

View Source
const InternalConfigFileNameLegacy = "config.yaml"

InternalConfigFileNameLegacy is effectively the same as InternalConfigName, but includes our preferred extension

View Source
const InternalConfigNamespace = "activestate"

InternalConfigNamespace holds the appdata folder name under which we store our config

View Source
const InventoryAPIPath = "/sv/inventory-api-v1"

InventoryAPIPath is the api path used for the secrets api

View Source
const KeypairLocalFileName = "private"

KeypairLocalFileName is the name of the file (sans extension) that will hold the user's unencrypted private key in their config dir.

View Source
const LastUsedNamespacePrefname = "last.used.namespace"

LastUsedNamespacePrefname is the pref that holds the last used org for commands that use a project

View Source
const LegacyToplevelInstallArchiveDir = "state-install"

LegacyToplevelInstallArchiveDir is the top-level directory for files in an installation archive This constant will be removed in DX-2081.

View Source
const LibraryLicense = "BSD 3"

LibraryLicense is the license that the library is distributed under.

View Source
const LibraryName = "cli"

LibraryName contains the main name of this library

View Source
const LibraryNamespace = "github.com/ActiveState/"

LibraryNamespace is the namespace that the library belongs to

View Source
const LibraryOwner = "ActiveState"

LibraryOwner contains the name of the owner of this library

View Source
const LogBuildVerboseEnvVarName = "ACTIVESTATE_CLI_BUILD_VERBOSE"

LogBuildVerboseEnvVarName is the env var used to enable verbose build logging

View Source
const LogEnvVarName = "ACTIVESTATE_CLI_LOGFILE"

LogEnvVarName is the env var used to override the log file path

View Source
const MediatorAPIPath = "/sv/mediator/api"

MediatorAPIPath is the path used for the platform mediator api

View Source
const MessagesInfoURL = "https://state-tool.s3.amazonaws.com/messages.json"

MessagesInfoURL is the URL we check against to see what versions are deprecated

View Source
const MessagesOverrideEnvVarName = "ACTIVESTATE_MESSAGES_OVERRIDE"

MessagesOverrideEnvVarName is used to override the location of the messages file (for testing purposes - should hold local filepath)

View Source
const MonoAPIPath = "/api/v1"

MonoAPIPath is the api path used for the platform api

View Source
const NonInteractiveEnvVarName = "ACTIVESTATE_NONINTERACTIVE"

NonInteractiveEnvVarName is the name of the environment variable that specifies whether to run the State Tool without prompts

View Source
const OfflineInstallerRollbarToken = "0ab5e19218bd494680bf8f5d08cf37ad"

OfflineInstallerRollbarToken is the token used by the Offline Installer to talk to rollbar

View Source
const OptinBuildscriptsConfig = "optin.buildscripts"

OptinBuildscriptsConfig is the config key used to determine whether the user has opted in to buildscripts

View Source
const OptinUnstableEnvVarName = "ACTIVESTATE_OPTIN_UNSTABLE"

OptinUnstableEnvVarName is used to instruct State Tool to opt-in to unstable features

View Source
const OverrideSandbox = "ACTIVESTATE_TEST_OVERRIDE_SANDBOX"

OverrideSandbox is the environment variable to set when overriding the sandbox for integration tests.

View Source
const OverrideSessionTokenEnvVarName = "ACTIVESTATE_OVERRIDE_SESSION_TOKEN"

OverrideSessionTokenEnvVarName overrides SessionTokenEnvVarName for integration tests.

View Source
const OverrideShellEnvVarName = "ACTIVESTATE_CLI_SHELL_OVERRIDE"

OverrideShellEnvVarName is the environment variable to set when overriding the shell for shell detection.

View Source
const OverwriteDefaultInstallationPathEnvVarName = "ACTIVESTATE_TEST_INSTALL_PATH"

OverwriteDefaultInstallationPathEnvVarName is the environment variable name to overwrite the default installation path FOR TESTING PURPOSES ONLY

View Source
const OverwriteDefaultSystemPathEnvVarName = "ACTIVESTATE_TEST_SYSTEM_PATH"

OverwriteDefaultSystemPathEnvVarName is the environment variable name to overwrite the system app installation directory updates FOR TESTING PURPOSES ONLY

View Source
const PipShim = "pip"

PipShim is the name of the pip shim

View Source
const PlatformMarketingPage = "https://www.activestate.com/products/platform/"

PlatformMarketingPage links to the marketing page for the ActiveState Platform

View Source
const PlatformPrivateNamespace = "private"

PlatformPrivateNamespace is the namespace for private packages.

View Source
const PlatformSignupPath = "/create-account"

PlatformSignupPath is the account creation path used by the platform

View Source
const PlatformURL = "platform.activestate.com"

PlatformURL is the base domain for the production platform

View Source
const PreferredGlibcVersionConfig = "runtime.preferred.glibc"

PreferredGlibcVersionConfig is the config key used to determine the preferred glibc version

View Source
const PreservePs1ConfigKey = "shell.preserve.prompt"

PreservePs1ConfigKey is the config key that specifies whether to modify the shell PS1/prompt to show org/project info.

View Source
const PrivateKeyEnvVarName = "ACTIVESTATE_PRIVATE_KEY"

PrivateKeyEnvVarName is the name of the environment variable that specifies the private key file to use for decrypting secrets (overriding user config).

View Source
const ProfileEnvVarName = "ACTIVESTATE_PROFILE"

ProfileEnvVarName is the name of the environment variable that specifies whether profiling should be run.

View Source
const RCAppendAutostartStartLine = "## START ACTIVESTATE AUTOSTART"

RCAppendAutostartStartLine is the start line used to denote our autostart executables in RC files

View Source
const RCAppendAutostartStopLine = "## STOP ACTIVESTATE AUTOSTART"

RCAppendAutostartStartLine is the end line used to denote our autostart executables in RC files

View Source
const RCAppendDefaultStartLine = "-- START ACTIVESTATE DEFAULT RUNTIME ENVIRONMENT"

RCAppendDefaultStartLine is the start line used to denote our default environment config in RC files

View Source
const RCAppendDefaultStopLine = "-- STOP ACTIVESTATE DEFAULT RUNTIME ENVIRONMENT"

RCAppendDefaultStopLine is the end line used to denote our default environment config in RC files

View Source
const RCAppendDeployStartLine = "-- START ACTIVESTATE DEPLOY RUNTIME ENVIRONMENT"

RCAppendDeployStartLine is the start line used to denote our deploy environment config in RC files

View Source
const RCAppendDeployStopLine = "-- STOP ACTIVESTATE DEPLOY RUNTIME ENVIRONMENT"

RCAppendDeployStopLine is the end line used to denote our deploy environment config in RC files

View Source
const RCAppendInstallStartLine = "-- START ACTIVESTATE INSTALLATION"

RCAppendInstallStartLine is the start line used to denote our default installation config in RC files

View Source
const RCAppendInstallStopLine = "-- STOP ACTIVESTATE INSTALLATION"

RCAppendInstallStopLine is the end line used to denote our default installation config in RC files

View Source
const RCAppendOfflineInstallStartLine = "-- START ACTIVESTATE OFFLINE INSTALL RUNTIME ENVIRONMENT"

RCAppendOfflineInstallStartLine is the start line used to denote our deploy environment config in RC files

View Source
const RCAppendOfflineInstallStopLine = "-- STOP ACTIVESTATE OFFLINE INSTALL RUNTIME ENVIRONMENT"

RCAppendOfflineInstallStopLine is the end line used to denote our deploy environment config in RC files

View Source
const ReleaseChannel = "release"

ReleaseChannel is the channel used for release builds

View Source
const ReportAnalyticsConfig = "report.analytics"

ReportAnalyticsConfig is the config key used to determine if we will send analytics reports

View Source
const ReportErrorsConfig = "report.errors"

ReportErrorsConfig is the config key used to determine if we will send rollbar reports

View Source
const RequirementsImportAPIPath = "/sv/reqsvc/reqs"

RequirementsImportAPIPath is the path used for the requirements import api

View Source
const RubyExecutable = "ruby"

RubyExecutable represents the ActivePerl executable.

View Source
const SecretsAPIPath = "/api/secrets/v1"

SecretsAPIPath is the api path used for the secrets api

View Source
const SecretsURL = "https://platform.activestate.com" + SecretsAPIPath

SecretsURL is the host used for secrets api calls when on production

View Source
const SecurityPromptConfig = "security.prompt.enabled"

SecurityPromptConfig is the config key used to determine if we will prompt the user for security related actions

View Source
const SecurityPromptLevelConfig = "security.prompt.level"

SecurityPromptLevelConfig is the config key used to determine the level of security prompts

View Source
const ServiceCommandName = "state-svc"

ServiceCommandName holds the name of our service command

View Source
const ServiceSockDir = "ACTIVESTATE_SVC_SOCK"

ServiceSockDir overrides the default socket path root diriectory used by the state service

View Source
const SessionTokenEnvVarName = "ACTIVESTATE_SESSION_TOKEN"

SessionTokenEnvVarName records the session token

View Source
const ShimEnvVarName = "ACTIVESTATE_SHIM"

ShimEnvVarName is used to instruct State Tool that it's being executed as part of a shim

View Source
const StateAppName = "State Tool"

StateAppName is the name we give our state cli executable

View Source
const StateCmd = "state"

StateCmd is the name of the state tool binary

View Source
const StateExecutorCmd = "state-exec"

StateExecutorCmd is the name of the state executor binary

View Source
const StateInstallerCmd = "state-installer"

StateInstallerCmd is the name of the state installer binary

View Source
const StateInstallerRollbarToken = "f4105fee70c5478eab063abb1acdffa9"

StateInstallerRollbarToken is the token used by the State Installer to talk to rollbar Todo It is currently the same as the State Tool's

View Source
const StateRemoteInstallerCmd = "state-remote-installer"

StateRemoteInstallerCmd is the name of the state remote installer binary

View Source
const StateServiceRollbarToken = "9dce777154b84824b1a16eb4654886a9"

StateServiceRollbarToken is the token used by the State Service to talk to rollbar

View Source
const StateSvcCmd = "state-svc"

StateSvcCmd is the name of the state-svc binary

View Source
const StateToolMarketingPage = "https://www.activestate.com/products/platform/state-tool/"

StateToolMarketingPage links to the marketing page for the state tool

View Source
const StateToolRollbarToken = "4062b6b437ed40e9aa710ce8931d7897"

StateToolRollbarToken is the token used by the State Tool to talk to rollbar

View Source
const SvcAppName = "State Service"

SvcAppName is the name we give our state-svc application

View Source
const SvcAuthPollingRateEnvVarName = "ACTIVESTATE_SVC_AUTH_POLLING_RATE"

SvcAuthPollingRateEnvVarName is used to override the default polling rate for syncing the authenticated state with the svc

View Source
const SvcLaunchFileName = "state-svc"

SvcLaunchFileName is the name we give files pertaining to our state-svc application

View Source
const SvcLogRotateIntervalEnvVarName = "ACTIVESTATE_CLI_LOG_ROTATE_INTERVAL_MS"

StateSvcLogRotateInvervalEnvVarName is the environment variable used to override the default log rotation timer interval (1 minute).

View Source
const TerminalAnimationInterval = 150 * time.Millisecond

TerminalAnimationInterval is the interval we use for terminal animations

View Source
const TermsOfServiceURLLatest = "https://www.activestate.com/wp-content/uploads/2018/10/activestate_platform_terms_service_agreement.pdf"

TermsOfServiceURLLatest is the URL to get the latest terms of service in PDF form

View Source
const TestAutoUpdateEnvVarName = "ACTIVESTATE_TEST_AUTO_UPDATE"

TestAutoUpdateEnvVarName is used to test auto updates, when set to true will always attempt to auto update

View Source
const UnstableConfig = "optin.unstable"

UnstableConfig is the config key used to determine whether the user has opted in to unstable commands

View Source
const UpdateChannelEnvVarName = "ACTIVESTATE_CLI_UPDATE_CHANNEL"

UpdateChannelEnvVarName is the env var that is used to override which channel to pull the update from

View Source
const UpdateTagEnvVarName = "ACTIVESTATE_UPDATE_TAG"

UpdateTagEnvVarName

View Source
const UserAgentTemplate = "{{.UserAgent}} ({{.OS}}; {{.OSVersion}}; {{.Architecture}})"

UserAgentTemplate is the template used to generate the actual user agent, which includes runtime information as well as build information

View Source
const VulnerabilitiesAPIPath = "/v13s/v1/graphql"

VulnerabilitiesAPIPath is the path used for the vulnerabilities api

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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