Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Credentials ¶
type EnvExportsOpts ¶
type EnvExportsOpts struct {
EnvOptions EnvOptions
NoRefreshAlias bool
RunHooks bool
ShellFormat ShellFormat
}
type EnvOptions ¶
type EnvOptions struct {
Hooks LifecycleHooks
OmitNixEnv bool
PreservePathStack bool
Pure bool
SkipRecompute bool
}
EnvOptions configure the Devbox Environment in the `computeEnv` function. - These options are commonly set by flags in some Devbox commands like `shellenv`, `shell` and `run`. - The struct is designed for the "common case" to be zero-initialized as `EnvOptions{}`.
type GenerateOpts ¶
type LifecycleHooks ¶
type LifecycleHooks struct {
// OnStaleState is called when the Devbox state is out of date
OnStaleState func()
}
type ProcessComposeOpts ¶
type PullboxOpts ¶
type PullboxOpts struct {
Overwrite bool
URL string
Credentials Credentials
}
type ShellFormat ¶
type ShellFormat string
const ( ShellFormatBash ShellFormat = "bash" ShellFormatNushell ShellFormat = "nushell" )
type UpdateOpts ¶
Click to show internal directories.
Click to hide internal directories.