Documentation ¶
Index ¶
- type VariablesFeature
- func (f *VariablesFeature) Diagnostics(path string) diagnostics.Diagnostics
- func (f *VariablesFeature) PathContext(path lang.Path) (*decoder.PathContext, error)
- func (f *VariablesFeature) Paths(ctx context.Context) []lang.Path
- func (f *VariablesFeature) SetLogger(logger *log.Logger)
- func (f *VariablesFeature) Start(ctx context.Context)
- func (f *VariablesFeature) Stop()
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) 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()
Click to show internal directories.
Click to hide internal directories.