variables

package
v0.36.4 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2025 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VariablesFeature

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

VariablesFeature groups everything related to variables. Its internal state keeps track of all variable definition files in the workspace.

func NewVariablesFeature

func NewVariablesFeature(eventbus *eventbus.EventBus, stateStore *globalState.StateStore, fs jobs.ReadOnlyFS, moduleFeature fdecoder.ModuleReader) (*VariablesFeature, error)

func (*VariablesFeature) Diagnostics

func (f *VariablesFeature) Diagnostics(path string) diagnostics.Diagnostics

func (*VariablesFeature) PathContext

func (f *VariablesFeature) PathContext(path lang.Path) (*decoder.PathContext, error)

func (*VariablesFeature) Paths

func (f *VariablesFeature) Paths(ctx context.Context) []lang.Path

func (*VariablesFeature) SetLogger

func (f *VariablesFeature) SetLogger(logger *log.Logger)

func (*VariablesFeature) Start

func (f *VariablesFeature) Start(ctx context.Context)

Start starts the features separate goroutine. It listens to various events from the EventBus and performs corresponding actions.

func (*VariablesFeature) Stop

func (f *VariablesFeature) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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