package
1.12.0-alpha20250213
Repository: https://github.com/hashicorp/terraform.git
Documentation: pkg.go.dev
# Functions
FindPluginPaths looks in the given directories for files whose filenames suggest that they are plugins of the given kind (e.g.
FindPlugins looks in the given directories for files whose filenames suggest that they are plugins of the given kind (e.g.
NewConstraints creates a Constraints based on a version.Constraints.
NewLocalPluginCache returns a PluginCache that caches plugins in a given local directory.
ResolvePluginPaths takes a list of paths to plugin executables (as returned by e.g.
# Constants
PluginInstallProtocolVersion is the protocol version TF-core supports to communicate with servers, and is used to resolve plugin discovery with terraform registry, in addition to any specified plugin version constraints.
No description provided by the author
# Variables
AllVersions is a Constraints containing all versions.
# Structs
Constraints represents a set of versions which any given Version is either a member of or not.
PluginConstraints represents an element of PluginRequirements describing the constraints for a single plugin.
PluginMeta is metadata about a plugin, useful for launching the plugin and for understanding which plugins are available.
Version represents a version number that has been parsed from a semver string and known to be valid.
# Interfaces
PluginCache is an interface implemented by objects that are able to maintain a cache of plugins.
# Type aliases
A ConstraintStr is a string containing a possibly-invalid representation of a version constraint provided in configuration.
A PluginMetaSet is a set of PluginMeta objects meeting a certain criteria.
PluginRequirements describes a set of plugins (assumed to be of a consistent kind) that are required to exist and have versions within the given corresponding sets.
No description provided by the author
A VersionStr is a string containing a possibly-invalid representation of a semver version number.