plugins

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2026 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plugins

type Plugins interface {
	Providers
	Provisioners
}

func NewRuntimePlugins

func NewRuntimePlugins(plugins plugins.Library) Plugins

func NewRuntimePluginsTemp

func NewRuntimePluginsTemp(providerManager plugins.ProviderManager, provisionerManager plugins.ProvisionerManager) Plugins

type Providers

type Providers interface {
	eval.Providers

	Close(ctx context.Context) error
}

Providers is implemented by callers of this package to provide access to the providers needed by a configuration without this package needing to know anything about how provider plugins work, or whether plugins are even being used.

type ProvisionerOutput

type ProvisionerOutput func(string)

func (ProvisionerOutput) Output

func (fn ProvisionerOutput) Output(str string)

type Provisioners

type Provisioners interface {
	eval.Provisioners

	// [provisioners.Interface.ProvisionResource]
	ProvisionResource(ctx context.Context, typ string, config cty.Value, connection cty.Value, output ProvisionerOutput) tfdiags.Diagnostics
}

Jump to

Keyboard shortcuts

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