modvendor

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2023 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package modvendor provides basic functions and types to support Terraform module vendoring.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsVendorDir

func AbsVendorDir(rootdir string, vendorDir project.Path, modsrc tf.Source) string

AbsVendorDir returns the absolute host path of the vendored module source.

func SourceDir

func SourceDir(path string, rootdir string, vendordir project.Path) string

SourceDir returns the source directory from a target directory (installed module).

func TargetDir

func TargetDir(vendorDir project.Path, modsrc tf.Source) project.Path

TargetDir returns the directory for the vendored module source, relative to project root.

On Windows, when modsrc.Scheme is "file" it replaces the volume “:“ by `$` because `:` is disallowed as path component in such system.

Types

This section is empty.

Directories

Path Synopsis
Package download is responsible for downloading vendored modules.
Package download is responsible for downloading vendored modules.
Package manifest implements vendor manifest parsing.
Package manifest implements vendor manifest parsing.

Jump to

Keyboard shortcuts

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