package
0.0.0-20240722083021-b171f2c45317
Repository: https://github.com/hashicorp/terraform-schema.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.
SourceDirSubdir takes a source URL and returns a tuple of the URL without the subdir and the subdir.
SubdirGlob returns the actual subdir with globbing processed.

# Variables

No description provided by the author

# Structs

BitBucketDetector implements Detector to detect BitBucket URLs and turn them into URLs that the Git or Hg Getter can understand.
GCSDetector implements Detector to detect GCS URLs and turn them into URLs that the GCSGetter can understand.
GitDetector implements Detector to detect Git SSH URLs such as [email protected]:dir1/dir2 and converts them to proper URLs.
GitHubDetector implements Detector to detect GitHub URLs and turn them into URLs that the Git Getter can understand.
S3Detector implements Detector to detect S3 URLs and turn them into URLs that the S3 getter can understand.

# 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.