Documentation ¶
Index ¶
- func CommandPrefix(ctx context.Context) (string, bool)
- func DiagnosticsNotifier(ctx context.Context) (*diagnostics.Notifier, 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 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 SetValidationOptions(ctx context.Context, validationOptions settings.ValidationOptions) error
- func TerraformExecLogPath(ctx context.Context) (string, bool)
- func TerraformExecPath(ctx context.Context) (string, bool)
- func TerraformExecTimeout(ctx context.Context) (time.Duration, bool)
- func ValidationOptions(ctx context.Context) (settings.ValidationOptions, error)
- func WithCommandPrefix(ctx context.Context, prefix *string) context.Context
- func WithDiagnosticsNotifier(ctx context.Context, diags *diagnostics.Notifier) context.Context
- func WithDocumentContext(ctx context.Context, rpcc Document) 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 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 WithValidationOptions(ctx context.Context, validationOptions *settings.ValidationOptions) context.Context
- type Document
- type MissingContextErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DiagnosticsNotifier ¶ added in v0.20.1
func DiagnosticsNotifier(ctx context.Context) (*diagnostics.Notifier, 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 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 SetValidationOptions ¶ added in v0.32.0
func SetValidationOptions(ctx context.Context, validationOptions settings.ValidationOptions) error
func TerraformExecTimeout ¶ added in v0.3.0
func ValidationOptions ¶ added in v0.32.0
func ValidationOptions(ctx context.Context) (settings.ValidationOptions, error)
func WithCommandPrefix ¶ added in v0.9.0
func WithDiagnosticsNotifier ¶ added in v0.20.1
func WithDocumentContext ¶ added in v0.32.0
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 WithSignalCancel ¶
func WithTerraformExecPath ¶ added in v0.4.0
func WithTerraformExecTimeout ¶ added in v0.3.0
func WithValidationOptions ¶ added in v0.32.0
Types ¶
type Document ¶ added in v0.32.0
func DocumentContext ¶ added in v0.32.0
func (Document) IsDidChangeRequest ¶ added in v0.32.0
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.