runner

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Option

type Option func(*options)

func WithBuiltIn

func WithBuiltIn(builtin ...*plugin.Schema) Option

func WithPluginDir

func WithPluginDir(dir string) Option

func WithPluginVersions

func WithPluginVersions(m VersionMap) Option

type Runner

type Runner struct {
	// contains filtered or unexported fields
}

func Load

func Load(o ...Option) (*Runner, hcl.Diagnostics)

func (*Runner) Close

func (m *Runner) Close() hcl.Diagnostics

func (*Runner) ContentProvider

func (m *Runner) ContentProvider(name string) (*plugin.ContentProvider, hcl.Diagnostics)

func (*Runner) DataSource

func (m *Runner) DataSource(name string) (*plugin.DataSource, hcl.Diagnostics)

type VersionMap

type VersionMap map[string]string

Jump to

Keyboard shortcuts

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