Documentation ¶
Index ¶
- func ClientCapabilities(ctx context.Context) (lsp.ClientCapabilities, error)
- func Filesystem(ctx context.Context) (filesystem.Filesystem, error)
- func SetClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) error
- func SetTerraformVersion(ctx context.Context, v string) error
- func TerraformExecLogPath(ctx context.Context) (string, bool)
- func TerraformExecTimeout(ctx context.Context) (time.Duration, bool)
- func TerraformExecutor(ctx context.Context) (*exec.Executor, error)
- func TerraformSchemaReader(ctx context.Context) (schema.Reader, error)
- func TerraformSchemaWriter(ctx context.Context) (schema.Writer, error)
- func TerraformVersion(ctx context.Context) (string, error)
- func WithClientCapabilities(caps *lsp.ClientCapabilities, ctx context.Context) context.Context
- func WithClientCapabilitiesSetter(caps *lsp.ClientCapabilities, ctx context.Context) context.Context
- func WithFilesystem(fs filesystem.Filesystem, ctx context.Context) context.Context
- func WithSignalCancel(ctx context.Context, l *log.Logger, sigs ...os.Signal) (context.Context, context.CancelFunc)
- func WithTerraformExecLogPath(path string, ctx context.Context) context.Context
- func WithTerraformExecTimeout(timeout time.Duration, ctx context.Context) context.Context
- func WithTerraformExecutor(tf *exec.Executor, ctx context.Context) context.Context
- func WithTerraformSchemaReader(s schema.Reader, ctx context.Context) context.Context
- func WithTerraformSchemaWriter(s schema.Writer, ctx context.Context) context.Context
- func WithTerraformVersion(v string, ctx context.Context) context.Context
- func WithTerraformVersionSetter(v *string, ctx context.Context) context.Context
- type MissingContextErr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClientCapabilities ¶
func Filesystem ¶
func Filesystem(ctx context.Context) (filesystem.Filesystem, error)
func SetClientCapabilities ¶
func TerraformExecTimeout ¶ added in v0.3.0
func WithClientCapabilities ¶
func WithFilesystem ¶
func WithFilesystem(fs filesystem.Filesystem, ctx context.Context) context.Context
func WithSignalCancel ¶
func WithTerraformExecTimeout ¶ added in v0.3.0
func WithTerraformExecutor ¶
func WithTerraformVersion ¶
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.