Documentation ¶
Index ¶
- func ClientCapabilities(ctx context.Context) (lsp.ClientCapabilities, error)
- 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 ProgressToken(ctx context.Context) (lsp.ProgressToken, bool)
- func RootDirectory(ctx context.Context) (string, bool)
- func RootModuleFinder(ctx context.Context) (rootmodule.RootModuleFinder, error)
- func RootModuleLoader(ctx context.Context) (rootmodule.RootModuleLoader, error)
- func RootModuleManager(ctx context.Context) (rootmodule.RootModuleManager, error)
- func RootModuleWalker(ctx context.Context) (*rootmodule.Walker, error)
- func SetClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) 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 TerraformFormatterFinder(ctx context.Context) (rootmodule.TerraformFormatterFinder, error)
- func Watcher(ctx context.Context) (watcher.Watcher, error)
- func WithClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) context.Context
- func WithClientCapabilitiesSetter(ctx context.Context, caps *lsp.ClientCapabilities) 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 WithProgressToken(ctx context.Context, pt lsp.ProgressToken) context.Context
- func WithRootDirectory(ctx context.Context, dir *string) context.Context
- func WithRootModuleFinder(ctx context.Context, rmcf rootmodule.RootModuleFinder) context.Context
- func WithRootModuleLoader(ctx context.Context, rml rootmodule.RootModuleLoader) context.Context
- func WithRootModuleManager(ctx context.Context, wm rootmodule.RootModuleManager) context.Context
- func WithRootModuleWalker(ctx context.Context, w *rootmodule.Walker) 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 WithTerraformFormatterFinder(ctx context.Context, tef rootmodule.TerraformFormatterFinder) context.Context
- func WithWatcher(ctx context.Context, w watcher.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 ProgressToken ¶ added in v0.11.0
func ProgressToken(ctx context.Context) (lsp.ProgressToken, bool)
func RootModuleFinder ¶ added in v0.9.0
func RootModuleFinder(ctx context.Context) (rootmodule.RootModuleFinder, error)
func RootModuleLoader ¶ added in v0.5.0
func RootModuleLoader(ctx context.Context) (rootmodule.RootModuleLoader, error)
func RootModuleManager ¶ added in v0.4.0
func RootModuleManager(ctx context.Context) (rootmodule.RootModuleManager, error)
func RootModuleWalker ¶ added in v0.5.0
func RootModuleWalker(ctx context.Context) (*rootmodule.Walker, error)
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 TerraformFormatterFinder ¶ added in v0.5.0
func TerraformFormatterFinder(ctx context.Context) (rootmodule.TerraformFormatterFinder, error)
func WithClientCapabilities ¶
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 WithProgressToken ¶ added in v0.11.0
func WithRootDirectory ¶ added in v0.4.0
func WithRootModuleFinder ¶ added in v0.9.0
func WithRootModuleFinder(ctx context.Context, rmcf rootmodule.RootModuleFinder) context.Context
func WithRootModuleLoader ¶ added in v0.5.0
func WithRootModuleLoader(ctx context.Context, rml rootmodule.RootModuleLoader) context.Context
func WithRootModuleManager ¶ added in v0.4.0
func WithRootModuleManager(ctx context.Context, wm rootmodule.RootModuleManager) context.Context
func WithRootModuleWalker ¶ added in v0.5.0
func WithSignalCancel ¶
func WithTerraformExecPath ¶ added in v0.4.0
func WithTerraformExecTimeout ¶ added in v0.3.0
func WithTerraformFormatterFinder ¶ added in v0.5.0
func WithTerraformFormatterFinder(ctx context.Context, tef rootmodule.TerraformFormatterFinder) context.Context
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.