package
0.6.3
Repository: https://github.com/ibm-cloud/terraform.git
Documentation: pkg.go.dev

# Functions

Detect turns a source string into another source string if it is detected to be of a known pattern.
Get downloads the module specified by src into the folder specified by dst.
GetCopy is the same as Get except that it downloads a copy of the module represented by source.
NewTree returns a new Tree for the given config structure.
NewTreeModule is like NewTree except it parses the configuration in the directory and gives it a specific name.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
RootName is the name of the root tree.

# Variables

Detectors is the list of detectors that are tried on an invalid URL.
Getters is the mapping of scheme to the Getter implementation that will be used to get a dependency.

# Structs

BitBucketDetector implements Detector to detect BitBucket URLs and turn them into URLs that the Git or Hg Getter can understand.
FileDetector implements Detector to detect file paths.
FileGetter is a Getter implementation that will download a module from a file scheme.
FolderStorage is an implementation of the Storage interface that manages modules on the disk.
GitGetter is a Getter implementation that will download a module from a git repository.
GitHubDetector implements Detector to detect GitHub URLs and turn them into URLs that the Git Getter can understand.
HgGetter is a Getter implementation that will download a module from a Mercurial repository.
HttpGetter is a Getter implementation that will download a module from an HTTP endpoint.
Module represents the metadata for a single module.
Tree represents the module import tree of configurations.
TreeError is an error returned by Tree.Validate if an error occurs with validation.

# Interfaces

Detector defines the interface that an invalid URL or a URL with a blank scheme is passed through in order to determine if its shorthand for something else well-known.
Getter defines the interface that schemes must implement to download and update modules.
Storage is an interface that knows how to lookup downloaded modules as well as download and update modules from their sources into the proper location.

# Type aliases

GetMode is an enum that describes how modules are loaded.