lsp

package
v1.39.18 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

Types

type DocumentManager

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

DocumentManager manages syncing memMapFs for the LSP server

func NewDocumentManager

func NewDocumentManager(fs afero.Fs) *DocumentManager

NewDocumentManager creates a new DocumentManager object

func (*DocumentManager) GetDocument

func (m *DocumentManager) GetDocument(documentURI string) string

GetDocument gets the string value for a memMapFs

func (*DocumentManager) UpdateDocument

func (m *DocumentManager) UpdateDocument(documentURI string, doc string)

UpdateDocument updates the string value for a memMapFs

type Handler

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

Handler is the server handler for the skaffold LSP. It implements the LSP spec and supports connection over TCP

func NewHandler

func NewHandler(conn jsonrpc2.Conn) *Handler

NewHandler initializes a new Handler object

Jump to

Keyboard shortcuts

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