yamlhandler

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type YamlHandler

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

func NewYamlHandler

func NewYamlHandler(client protocol.Client, documents *document.DocumentStore, chartStore *charts.ChartStore) *YamlHandler

func (*YamlHandler) Completion

func (h *YamlHandler) Completion(ctx context.Context, params *protocol.CompletionParams) (result *protocol.CompletionList, err error)

Completion implements handler.LangHandler.

func (*YamlHandler) Configure

func (h *YamlHandler) Configure(ctx context.Context, helmlsConfig util.HelmlsConfiguration)

func (*YamlHandler) CustomSchemaProvider

func (h *YamlHandler) CustomSchemaProvider(ctx context.Context, URI uri.URI) (uri.URI, error)

func (*YamlHandler) Definition

func (h *YamlHandler) Definition(ctx context.Context, params *protocol.DefinitionParams) (result []protocol.Location, err error)

Definition implements handler.LangHandler.

func (*YamlHandler) DidOpen

func (h *YamlHandler) DidOpen(ctx context.Context, params *protocol.DidOpenTextDocumentParams, helmlsConfig util.HelmlsConfiguration) (err error)

DidOpen implements handler.LangHandler.

func (*YamlHandler) DidSave

func (h *YamlHandler) DidSave(ctx context.Context, params *protocol.DidSaveTextDocumentParams) (err error)

DidSave implements handler.LangHandler.

func (*YamlHandler) DocumentSymbol

func (h *YamlHandler) DocumentSymbol(ctx context.Context, params *protocol.DocumentSymbolParams) (result []interface{}, err error)

DocumentSymbol implements handler.LangHandler.

func (*YamlHandler) GetDiagnostics

func (h *YamlHandler) GetDiagnostics(uri uri.URI) []protocol.PublishDiagnosticsParams

GetDiagnostics implements handler.LangHandler.

func (*YamlHandler) Hover

func (h *YamlHandler) Hover(ctx context.Context, params *lsp.HoverParams) (*lsp.Hover, error)

Hover implements handler.LangHandler.

func (*YamlHandler) PostDidChange

func (h *YamlHandler) PostDidChange(ctx context.Context, params *protocol.DidChangeTextDocumentParams) (err error)

DidChange implements handler.LangHandler.

func (*YamlHandler) References

func (h *YamlHandler) References(ctx context.Context, params *protocol.ReferenceParams) (result []protocol.Location, err error)

References implements handler.LangHandler.

func (*YamlHandler) SetClient

func (h *YamlHandler) SetClient(client protocol.Client)

SetClient implements handler.LangHandler.

Jump to

Keyboard shortcuts

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