Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiagnosticsNotifier ¶
type DiagnosticsNotifier struct {
// contains filtered or unexported fields
}
Notifier is a type responsible for queueing diagnostics to be converted and sent to the client
func NewDiagnosticsNotifier ¶
func NewDiagnosticsNotifier(logger *log.Logger) *DiagnosticsNotifier
func (*DiagnosticsNotifier) PublishDiagnostics ¶
func (n *DiagnosticsNotifier) PublishDiagnostics(ctx context.Context, dirPath string, diags diagnostics.Diagnostics)
PublishHCLDiags accepts a map of HCL diagnostics per file and queues them for publishing. A dir path is passed which is joined with the filename keys of the map, to form a file URI.
Click to show internal directories.
Click to hide internal directories.