virtualenvironment

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VirtualEnvironment

type VirtualEnvironment struct {
	// contains filtered or unexported fields
}

VirtualEnvironment represents our virtual environment, it pulls together and virtualizes the runtime environment

func New

func New(runtime *runtime.Runtime) *VirtualEnvironment

func (*VirtualEnvironment) ActivationID

func (v *VirtualEnvironment) ActivationID() string

ActivationID returns the unique identifier related to the activated instance.

func (*VirtualEnvironment) GetEnv

func (v *VirtualEnvironment) GetEnv(inherit bool, useExecutors bool, projectDir, namespace string) (map[string]string, error)

GetEnv returns a map of the cumulative environment variables for all active virtual environments

func (*VirtualEnvironment) WorkingDirectory

func (v *VirtualEnvironment) WorkingDirectory() string

WorkingDirectory returns the working directory to use for the current environment

Jump to

Keyboard shortcuts

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