context

package
v0.1.5 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpandRef

func ExpandRef(ctx *Context, ref config.Ref) config.Ref

Types

type Context

type Context struct {
	Ctx                  context.Context
	CancelFunc           context.CancelFunc
	Logger               io.Logger
	UserConfig           *config.UserConfig
	CurrentWorkspace     *config.WorkspaceConfig
	WorkspacesCache      *cache.WorkspaceCache
	ExecutableCache      *cache.ExecutableCache
	InteractiveContainer *components.ContainerView

	// ProcessTmpDir is the temporary directory for the current process. If set, it will be
	// used to store temporary files all executable runs when the tmpDir value is specified.
	ProcessTmpDir string
}

func NewContext

func NewContext(ctx context.Context) *Context

func (*Context) Finalize added in v0.1.0

func (ctx *Context) Finalize()

Jump to

Keyboard shortcuts

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