Documentation ¶
Index ¶
- func ClientCapabilities(ctx context.Context) (lsp.ClientCapabilities, error)
- func Filesystem(ctx context.Context) (filesystem.Filesystem, error)
- func ParserFinder(ctx context.Context) (rootmodule.ParserFinder, error)
- func RootDirectory(ctx context.Context) (string, bool)
- func RootModuleCandidateFinder(ctx context.Context) (rootmodule.RootModuleCandidateFinder, error)
- func RootModuleManager(ctx context.Context) (rootmodule.RootModuleManager, error)
- func SetClientCapabilities(ctx context.Context, caps *lsp.ClientCapabilities) 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 TerraformExecutorFinder(ctx context.Context) (rootmodule.TerraformExecFinder, error)
- func Watcher(ctx context.Context) (watcher.Watcher, 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 WithParserFinder(pf rootmodule.ParserFinder, ctx context.Context) context.Context
- func WithRootDirectory(dir *string, ctx context.Context) context.Context
- func WithRootModuleCandidateFinder(rmcf rootmodule.RootModuleCandidateFinder, ctx context.Context) context.Context
- func WithRootModuleManager(wm rootmodule.RootModuleManager, ctx context.Context) context.Context
- func WithSignalCancel(ctx context.Context, l *log.Logger, sigs ...os.Signal) (context.Context, context.CancelFunc)
- func WithTerraformExecFinder(tef rootmodule.TerraformExecFinder, ctx context.Context) context.Context
- func WithTerraformExecLogPath(path string, ctx context.Context) context.Context
- func WithTerraformExecPath(path string, ctx context.Context) context.Context
- func WithTerraformExecTimeout(timeout time.Duration, ctx context.Context) context.Context
- func WithWatcher(w watcher.Watcher, 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 ParserFinder ¶ added in v0.4.0
func ParserFinder(ctx context.Context) (rootmodule.ParserFinder, error)
func RootModuleCandidateFinder ¶ added in v0.4.0
func RootModuleCandidateFinder(ctx context.Context) (rootmodule.RootModuleCandidateFinder, error)
func RootModuleManager ¶ added in v0.4.0
func RootModuleManager(ctx context.Context) (rootmodule.RootModuleManager, error)
func SetClientCapabilities ¶
func SetRootDirectory ¶ added in v0.4.0
func TerraformExecTimeout ¶ added in v0.3.0
func TerraformExecutorFinder ¶ added in v0.4.0
func TerraformExecutorFinder(ctx context.Context) (rootmodule.TerraformExecFinder, error)
func WithClientCapabilities ¶
func WithFilesystem ¶
func WithFilesystem(fs filesystem.Filesystem, ctx context.Context) context.Context
func WithParserFinder ¶ added in v0.4.0
func WithParserFinder(pf rootmodule.ParserFinder, ctx context.Context) context.Context
func WithRootDirectory ¶ added in v0.4.0
func WithRootModuleCandidateFinder ¶ added in v0.4.0
func WithRootModuleCandidateFinder(rmcf rootmodule.RootModuleCandidateFinder, ctx context.Context) context.Context
func WithRootModuleManager ¶ added in v0.4.0
func WithRootModuleManager(wm rootmodule.RootModuleManager, ctx context.Context) context.Context
func WithSignalCancel ¶
func WithTerraformExecFinder ¶ added in v0.4.0
func WithTerraformExecFinder(tef rootmodule.TerraformExecFinder, ctx context.Context) context.Context
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.