environmentvariables

package
v0.0.0-...-0adad2b Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies interface {
	command.ExecutionContext
	workspace.Contexter
}

type Variable

type Variable struct {
	FromPath             string                `yaml:"fromPath,omitempty" json:"fromPath,omitempty"`
	Name                 string                `yaml:"name" json:"name"`
	WorkspaceCommand     string                `yaml:"workspaceCommand,omitempty"`
	WorkspaceCommandHint string                `yaml:"workspaceCommandHint,omitempty"`
	From                 *command.CommandValue `yaml:"from" json:"from"`
	Value                string                `yaml:"-" json:"-"`
}

func (*Variable) Ensure

func (e *Variable) Ensure(ctx Dependencies) error

Ensure sets Value using the From CommandValue.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳