Documentation
¶
Index ¶
- type SearchFeature
- func (f *SearchFeature) Diagnostics(path string) diagnostics.Diagnostics
- func (f *SearchFeature) PathContext(path lang.Path) (*decoder.PathContext, error)
- func (f *SearchFeature) Paths(ctx context.Context) []lang.Path
- func (f *SearchFeature) SetLogger(logger *log.Logger)
- func (f *SearchFeature) Start(ctx context.Context)
- func (f *SearchFeature) Stop()
- func (f *SearchFeature) Telemetry(path string) map[string]interface{}
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchFeature ¶
type SearchFeature struct {
// contains filtered or unexported fields
}
func NewSearchFeature ¶
func NewSearchFeature(bus *eventbus.EventBus, stateStore *globalState.StateStore, fs jobs.ReadOnlyFS, moduleFeature searchDecoder.ModuleReader, rootFeature searchDecoder.RootReader) (*SearchFeature, error)
func (*SearchFeature) Diagnostics ¶
func (f *SearchFeature) Diagnostics(path string) diagnostics.Diagnostics
func (*SearchFeature) PathContext ¶
func (f *SearchFeature) PathContext(path lang.Path) (*decoder.PathContext, error)
func (*SearchFeature) SetLogger ¶
func (f *SearchFeature) SetLogger(logger *log.Logger)
func (*SearchFeature) Start ¶
func (f *SearchFeature) Start(ctx context.Context)
Start starts the features separate goroutine. It listens to various events from the EventBus and performs corresponding actions.
func (*SearchFeature) Stop ¶
func (f *SearchFeature) Stop()
func (*SearchFeature) Telemetry ¶
func (f *SearchFeature) Telemetry(path string) map[string]interface{}
Click to show internal directories.
Click to hide internal directories.