Documentation ¶
Index ¶
- func ClientCapabilities(ctx context.Context) (lsp.ClientCapabilities, error)
- func ClientName(ctx context.Context) (string, bool)
- func CommandPrefix(ctx context.Context) (string, bool)
- func Diagnostics(ctx context.Context) (*diagnostics.Notifier, error)
- func DocumentStorage(ctx context.Context) (filesystem.DocumentStorage, error)
- func ExperimentalFeatures(ctx context.Context) (settings.ExperimentalFeatures, error)
- func LanguageServerVersion(ctx context.Context) (string, bool)
- func ModuleFinder(ctx context.Context) (module.ModuleFinder, error)
- func ModuleManager(ctx context.Context) (module.ModuleManager, error)
- func ModuleWalker(ctx context.Context) (*module.Walker, error)
- func ProgressToken(ctx context.Context) (lsp.ProgressToken, bool)
- func RootDirectory(ctx context.Context) (string, bool)
- func SetClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) error
- func SetClientName(ctx context.Context, name string) error
- func SetCommandPrefix(ctx context.Context, prefix string) error
- func SetExperimentalFeatures(ctx context.Context, expFeatures settings.ExperimentalFeatures) error
- func SetRootDirectory(ctx context.Context, dir string) error
- func TerraformExecLogPath(ctx context.Context) (string, bool)
- func TerraformExecPath(ctx context.Context) (string, bool)
- func TerraformExecTimeout(ctx context.Context) (time.Duration, bool)
- func Watcher(ctx context.Context) (module.Watcher, error)
- func WithClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) context.Context
- func WithClientCapabilitiesSetter(ctx context.Context, caps *lsp.ClientCapabilities) context.Context
- func WithClientName(ctx context.Context, namePtr *string) context.Context
- func WithCommandPrefix(ctx context.Context, prefix *string) context.Context
- func WithDiagnostics(ctx context.Context, diags *diagnostics.Notifier) context.Context
- func WithDocumentStorage(ctx context.Context, fs filesystem.DocumentStorage) context.Context
- func WithExperimentalFeatures(ctx context.Context, expFeatures *settings.ExperimentalFeatures) context.Context
- func WithLanguageServerVersion(ctx context.Context, version string) context.Context
- func WithModuleFinder(ctx context.Context, mf module.ModuleFinder) context.Context
- func WithModuleManager(ctx context.Context, wm module.ModuleManager) context.Context
- func WithModuleWalker(ctx context.Context, w *module.Walker) context.Context
- func WithProgressToken(ctx context.Context, pt lsp.ProgressToken) context.Context
- func WithRootDirectory(ctx context.Context, dir *string) context.Context
- func WithSignalCancel(ctx context.Context, l *log.Logger, sigs ...os.Signal) (context.Context, context.CancelFunc)
- func WithTerraformExecLogPath(ctx context.Context, path string) context.Context
- func WithTerraformExecPath(ctx context.Context, path string) context.Context
- func WithTerraformExecTimeout(ctx context.Context, timeout time.Duration) context.Context
- func WithWatcher(ctx context.Context, w module.Watcher) context.Context
- type MissingContextErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientCapabilities ¶
func ClientCapabilities(ctx context.Context) (lsp.ClientCapabilities, error)
func Diagnostics ¶ added in v0.8.0
func Diagnostics(ctx context.Context) (*diagnostics.Notifier, error)
func DocumentStorage ¶ added in v0.6.0
func DocumentStorage(ctx context.Context) (filesystem.DocumentStorage, error)
func ExperimentalFeatures ¶ added in v0.12.0
func ExperimentalFeatures(ctx context.Context) (settings.ExperimentalFeatures, error)
func LanguageServerVersion ¶ added in v0.11.0
func ModuleFinder ¶ added in v0.13.0
func ModuleFinder(ctx context.Context) (module.ModuleFinder, error)
func ModuleManager ¶ added in v0.13.0
func ModuleManager(ctx context.Context) (module.ModuleManager, error)
func ProgressToken ¶ added in v0.11.0
func ProgressToken(ctx context.Context) (lsp.ProgressToken, bool)
func SetClientCapabilities ¶
func SetClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) error
func SetCommandPrefix ¶ added in v0.9.0
func SetExperimentalFeatures ¶ added in v0.12.0
func SetExperimentalFeatures(ctx context.Context, expFeatures settings.ExperimentalFeatures) error
func SetRootDirectory ¶ added in v0.4.0
func TerraformExecTimeout ¶ added in v0.3.0
func WithClientCapabilities ¶
func WithClientName ¶ added in v0.14.0
func WithCommandPrefix ¶ added in v0.9.0
func WithDiagnostics ¶ added in v0.8.0
func WithDocumentStorage ¶ added in v0.6.0
func WithDocumentStorage(ctx context.Context, fs filesystem.DocumentStorage) context.Context
func WithExperimentalFeatures ¶ added in v0.12.0
func WithLanguageServerVersion ¶ added in v0.11.0
func WithModuleFinder ¶ added in v0.13.0
func WithModuleManager ¶ added in v0.13.0
func WithModuleWalker ¶ added in v0.13.0
func WithProgressToken ¶ added in v0.11.0
func WithRootDirectory ¶ added in v0.4.0
func WithSignalCancel ¶
func WithTerraformExecPath ¶ added in v0.4.0
func WithTerraformExecTimeout ¶ added in v0.3.0
Types ¶
type MissingContextErr ¶ added in v0.2.1
type MissingContextErr struct {
CtxKey *contextKey
}
func (*MissingContextErr) Error ¶ added in v0.2.1
func (e *MissingContextErr) Error() string
Click to show internal directories.
Click to hide internal directories.