Documentation
¶
Overview ¶
Package env defines environment variable names and toggle values for ctx configuration.
Index ¶
Constants ¶
View Source
const ( // Home is the environment variable for the user's home directory. Home = "HOME" // CtxDir is the environment variable for overriding the context directory. CtxDir = "CTX_DIR" // CtxTokenBudget is the environment variable for overriding the token budget. CtxTokenBudget = "CTX_TOKEN_BUDGET" //nolint:gosec // G101: env var name, not a credential // BackupSMBURL is the environment variable for the SMB share URL. BackupSMBURL = "CTX_BACKUP_SMB_URL" // BackupSMBSubdir is the environment variable for the SMB share subdirectory. BackupSMBSubdir = "CTX_BACKUP_SMB_SUBDIR" // SkipPathCheck is the environment variable that skips the PATH // validation during init. Set to True in tests. SkipPathCheck = "CTX_SKIP_PATH_CHECK" )
Environment variable names.
View Source
const (
// True is the canonical truthy value for environment variable toggles.
True = "1"
)
Environment toggle values.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.