env

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const CheckForUpdateOnStartupVar = "LSTK_CHECK_FOR_UPDATE_ON_STARTUP"

CheckForUpdateOnStartupVar overrides the [cli] check_for_update_on_startup config key. Named so error messages can quote the exact variable the user set.

Variables

This section is empty.

Functions

This section is empty.

Types

type Env

type Env struct {
	AuthToken      string
	LocalStackHost string
	DockerHost     string
	DisableEvents  bool
	TracesEnabled  bool
	StartupTimeout time.Duration

	APIEndpoint       string
	WebAppURL         string
	ForceFileKeyring  bool
	AnalyticsEndpoint string

	NonInteractive          bool
	JSON                    bool
	GitHubToken             string
	MergeStrategy           string
	CheckForUpdateOnStartup string
	// SessionID (LSTK_SESSION_ID) overrides the analytics session id.
	// Internal-only: deliberately absent from docs and help.
	SessionID string
}

func Init

func Init() *Env

Init initializes environment variable configuration and returns the result.

Jump to

Keyboard shortcuts

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