plugins

package
v0.3.0 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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