Documentation
¶
Index ¶
- type YamlHandler
- func (h *YamlHandler) Completion(ctx context.Context, params *protocol.CompletionParams) (result *protocol.CompletionList, err error)
- func (h *YamlHandler) Configure(ctx context.Context, helmlsConfig util.HelmlsConfiguration)
- func (h *YamlHandler) CustomSchemaProvider(ctx context.Context, URI uri.URI) (uri.URI, error)
- func (h *YamlHandler) Definition(ctx context.Context, params *protocol.DefinitionParams) (result []protocol.Location, err error)
- func (h *YamlHandler) DidOpen(ctx context.Context, params *protocol.DidOpenTextDocumentParams, ...) (err error)
- func (h *YamlHandler) DidSave(ctx context.Context, params *protocol.DidSaveTextDocumentParams) (err error)
- func (h *YamlHandler) DocumentSymbol(ctx context.Context, params *protocol.DocumentSymbolParams) (result []interface{}, err error)
- func (h *YamlHandler) GetDiagnostics(uri uri.URI) []protocol.PublishDiagnosticsParams
- func (h *YamlHandler) Hover(ctx context.Context, params *lsp.HoverParams) (*lsp.Hover, error)
- func (h *YamlHandler) PostDidChange(ctx context.Context, params *protocol.DidChangeTextDocumentParams) (err error)
- func (h *YamlHandler) References(ctx context.Context, params *protocol.ReferenceParams) (result []protocol.Location, err error)
- func (h *YamlHandler) SetClient(client protocol.Client)
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 (*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.
Click to show internal directories.
Click to hide internal directories.