env

package
v0.10.0-alpha.4 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableFastEvalMode added in v0.9.0

func EnableFastEvalMode()

Enable the fast eval mode.

func GetDisableInstallArtifact

func GetDisableInstallArtifact() bool

GetDisableInstallArtifact returns the DisableInstallArtifact value from the singleton instance of EnvSettings.

func GetDisableUseArtifactInPath

func GetDisableUseArtifactInPath() bool

GetDisableUseArtifactInPath returns the DisableUseArtifactInPath value from the singleton instance of EnvSettings.

func GetLibHome

func GetLibHome() string

GetLibHome returns the LibHome value from the singleton instance of EnvSettings.

func SetDisableInstallArtifact

func SetDisableInstallArtifact(value bool)

SetDisableInstallArtifact sets the DisableInstallArtifact value in the singleton instance of EnvSettings.

func SetDisableUseArtifactInPath

func SetDisableUseArtifactInPath(value bool)

SetDisableUseArtifactInPath sets the DisableUseArtifactInPath value in the singleton instance of EnvSettings.

func SetLibHome

func SetLibHome(value string)

SetLibHome sets the LibHome value in the singleton instance of EnvSettings.

Types

type EnvSettings

type EnvSettings struct {
	LibHome                  string
	DisableInstallArtifact   bool
	DisableUseArtifactInPath bool
}

EnvSettings represents environment settings for the KCL Go SDK.

Jump to

Keyboard shortcuts

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