context

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: May 7, 2020 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientCapabilities

func ClientCapabilities(ctx context.Context) (lsp.ClientCapabilities, error)

func Filesystem

func Filesystem(ctx context.Context) (filesystem.Filesystem, error)

func SetClientCapabilities

func SetClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) error

func SetTerraformVersion

func SetTerraformVersion(ctx context.Context, v string) error

func TerraformExecLogPath

func TerraformExecLogPath(ctx context.Context) (string, bool)

func TerraformExecutor

func TerraformExecutor(ctx context.Context) (*exec.Executor, error)

func TerraformSchemaReader

func TerraformSchemaReader(ctx context.Context) (schema.Reader, error)

func TerraformSchemaWriter

func TerraformSchemaWriter(ctx context.Context) (schema.Writer, error)

func TerraformVersion

func TerraformVersion(ctx context.Context) (string, error)

func WithClientCapabilities

func WithClientCapabilities(caps *lsp.ClientCapabilities, ctx context.Context) context.Context

func WithClientCapabilitiesSetter

func WithClientCapabilitiesSetter(caps *lsp.ClientCapabilities, ctx context.Context) context.Context

func WithFilesystem

func WithFilesystem(fs filesystem.Filesystem, ctx context.Context) context.Context

func WithSignalCancel

func WithSignalCancel(ctx context.Context, l *log.Logger, sigs ...os.Signal) (
	context.Context, context.CancelFunc)

func WithTerraformExecLogPath

func WithTerraformExecLogPath(path string, ctx context.Context) context.Context

func WithTerraformExecutor

func WithTerraformExecutor(tf *exec.Executor, ctx context.Context) context.Context

func WithTerraformSchemaReader

func WithTerraformSchemaReader(s schema.Reader, ctx context.Context) context.Context

func WithTerraformSchemaWriter

func WithTerraformSchemaWriter(s schema.Writer, ctx context.Context) context.Context

func WithTerraformVersion

func WithTerraformVersion(v string, ctx context.Context) context.Context

func WithTerraformVersionSetter

func WithTerraformVersionSetter(v *string, ctx context.Context) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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