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 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 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 WithFilesystem(ctx context.Context, fs filesystem.Filesystem) context.Context
- func WithParserFinder(ctx context.Context, pf rootmodule.ParserFinder) context.Context
- func WithRootDirectory(ctx context.Context, dir *string) context.Context
- func WithRootModuleCandidateFinder(ctx context.Context, rmcf rootmodule.RootModuleCandidateFinder) 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 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 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 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 WithFilesystem ¶
func WithFilesystem(ctx context.Context, fs filesystem.Filesystem) context.Context
func WithParserFinder ¶ added in v0.4.0
func WithParserFinder(ctx context.Context, pf rootmodule.ParserFinder) context.Context
func WithRootDirectory ¶ added in v0.4.0
func WithRootModuleCandidateFinder ¶ added in v0.4.0
func WithRootModuleCandidateFinder(ctx context.Context, rmcf rootmodule.RootModuleCandidateFinder) 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.