mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-30 01:46:23 +00:00
Add all dependency of go-getter
This commit is contained in:
55
vendor/github.com/hashicorp/go-getter/cmd/go-getter/main.go
generated
vendored
Normal file
55
vendor/github.com/hashicorp/go-getter/cmd/go-getter/main.go
generated
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/hashicorp/go-getter"
|
||||
)
|
||||
|
||||
func main() {
|
||||
modeRaw := flag.String("mode", "any", "get mode (any, file, dir)")
|
||||
flag.Parse()
|
||||
args := flag.Args()
|
||||
if len(args) < 2 {
|
||||
log.Fatalf("Expected two args: URL and dst")
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// Get the mode
|
||||
var mode getter.ClientMode
|
||||
switch *modeRaw {
|
||||
case "any":
|
||||
mode = getter.ClientModeAny
|
||||
case "file":
|
||||
mode = getter.ClientModeFile
|
||||
case "dir":
|
||||
mode = getter.ClientModeDir
|
||||
default:
|
||||
log.Fatalf("Invalid client mode, must be 'any', 'file', or 'dir': %s", *modeRaw)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// Get the pwd
|
||||
pwd, err := os.Getwd()
|
||||
if err != nil {
|
||||
log.Fatalf("Error getting wd: %s", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
// Build the client
|
||||
client := &getter.Client{
|
||||
Src: args[0],
|
||||
Dst: args[1],
|
||||
Pwd: pwd,
|
||||
Mode: mode,
|
||||
}
|
||||
|
||||
if err := client.Get(); err != nil {
|
||||
log.Fatalf("Error downloading: %s", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
log.Println("Success!")
|
||||
}
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/archive-rooted-multi/archive.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/archive-rooted-multi/archive.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/archive-rooted/archive.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/archive-rooted/archive.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/archive.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/archive.tar.gz
generated
vendored
Normal file
Binary file not shown.
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic%2Ftest/foo/main.tf
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic%2Ftest/foo/main.tf
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Hello
|
||||
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic%2Ftest/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic%2Ftest/main.tf
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hello
|
||||
|
||||
module "foo" {
|
||||
source = "./foo"
|
||||
}
|
||||
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic%2Ftest/subdir/sub.tf
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic%2Ftest/subdir/sub.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-dot/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-dot/main.tf
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hello
|
||||
|
||||
module "foo" {
|
||||
source = "./foo"
|
||||
}
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-file-archive/archive.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-file-archive/archive.tar.gz
generated
vendored
Normal file
Binary file not shown.
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-file/foo.txt
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-file/foo.txt
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Hello
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/00changelog.i
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/00changelog.i
generated
vendored
Normal file
Binary file not shown.
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/branch
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/branch
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
default
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/branch2-served
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/branch2-served
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
992604507bcd66370bf91a0c9d526ccd833412bf 2
|
||||
992604507bcd66370bf91a0c9d526ccd833412bf o default
|
||||
c65e998d747ffbb1fe3b1c067a50664bb3fb5da4 o test-branch
|
||||
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/rbc-names-v1
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/rbc-names-v1
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
default
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/rbc-revs-v1
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/rbc-revs-v1
generated
vendored
Normal file
Binary file not shown.
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/tags
generated
vendored
Normal file
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/cache/tags
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
1 c65e998d747ffbb1fe3b1c067a50664bb3fb5da4
|
||||
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/dirstate
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/dirstate
generated
vendored
Normal file
Binary file not shown.
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/last-message.txt
generated
vendored
Normal file
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/last-message.txt
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
add file
|
||||
|
||||
4
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/requires
generated
vendored
Normal file
4
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/requires
generated
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
dotencode
|
||||
fncache
|
||||
revlogv1
|
||||
store
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/00changelog.i
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/00changelog.i
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/00manifest.i
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/00manifest.i
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/data/foo.txt.i
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/data/foo.txt.i
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/data/main.tf.i
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/data/main.tf.i
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/data/main__branch.tf.i
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/data/main__branch.tf.i
generated
vendored
Normal file
Binary file not shown.
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/fncache
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/fncache
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
data/main.tf.i
|
||||
data/foo.txt.i
|
||||
data/main_branch.tf.i
|
||||
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/phaseroots
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/phaseroots
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
1 dcaed7754d58264cb9a5916215a5442377307bd1
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo
generated
vendored
Normal file
Binary file not shown.
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo.backup.fncache
generated
vendored
Normal file
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo.backup.fncache
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
data/main.tf.i
|
||||
data/main_branch.tf.i
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo.backupfiles
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo.backupfiles
generated
vendored
Normal file
Binary file not shown.
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo.phaseroots
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/store/undo.phaseroots
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
1 dcaed7754d58264cb9a5916215a5442377307bd1
|
||||
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.bookmarks
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.bookmarks
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.branch
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.branch
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
default
|
||||
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.desc
generated
vendored
Normal file
2
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.desc
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
2
|
||||
commit
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.dirstate
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/.hg/undo.dirstate
generated
vendored
Normal file
Binary file not shown.
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/foo.txt
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/foo.txt
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
Hello
|
||||
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-hg/main.tf
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hello
|
||||
|
||||
module "foo" {
|
||||
source = "./foo"
|
||||
}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-parent/a/a.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-parent/a/a.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module "b" {
|
||||
source = "../c"
|
||||
}
|
||||
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-parent/c/c.tf
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-parent/c/c.tf
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Hello
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-parent/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-parent/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module "a" {
|
||||
source = "./a"
|
||||
}
|
||||
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-subdir/foo/sub/baz/main.tf
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-subdir/foo/sub/baz/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-subdir/foo/sub/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-subdir/foo/sub/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module "bar" {
|
||||
source = "./baz"
|
||||
}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-subdir/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-subdir/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module "foo" {
|
||||
source = "./foo//sub"
|
||||
}
|
||||
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-tgz/main.tf
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic-tgz/main.tf
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Hello
|
||||
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic/foo/main.tf
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/basic/foo/main.tf
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
# Hello
|
||||
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/basic/main.tf
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hello
|
||||
|
||||
module "foo" {
|
||||
source = "./foo"
|
||||
}
|
||||
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic/subdir/sub.tf
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/basic/subdir/sub.tf
generated
vendored
Normal file
2
vendor/github.com/hashicorp/go-getter/test-fixtures/child/foo/bar/main.tf
generated
vendored
Normal file
2
vendor/github.com/hashicorp/go-getter/test-fixtures/child/foo/bar/main.tf
generated
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
# Hello
|
||||
|
||||
5
vendor/github.com/hashicorp/go-getter/test-fixtures/child/foo/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/child/foo/main.tf
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hello
|
||||
|
||||
module "bar" {
|
||||
source = "./bar"
|
||||
}
|
||||
5
vendor/github.com/hashicorp/go-getter/test-fixtures/child/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/child/main.tf
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
# Hello
|
||||
|
||||
module "foo" {
|
||||
source = "./foo"
|
||||
}
|
||||
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-bz2/single.bz2
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-bz2/single.bz2
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-gz/single.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-gz/single.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tar/extended_header.tar
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tar/extended_header.tar
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tar/implied_dir.tar
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tar/implied_dir.tar
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tar/unix_time_0.tar
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tar/unix_time_0.tar
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/empty.tar.bz2
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/empty.tar.bz2
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/multiple.tar.bz2
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/multiple.tar.bz2
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/ordering.tar.bz2
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/ordering.tar.bz2
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/single.tar.bz2
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tbz2/single.tar.bz2
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/empty.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/empty.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/multiple.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/multiple.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/multiple_dir.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/multiple_dir.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/ordering.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/ordering.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/outside_parent.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/outside_parent.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/single.tar.gz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-tgz/single.tar.gz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/empty.tar.xz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/empty.tar.xz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/multiple.tar.xz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/multiple.tar.xz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/multiple_dir.tar.xz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/multiple_dir.tar.xz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/ordering.tar.xz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/ordering.tar.xz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/single.tar.xz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-txz/single.tar.xz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-xz/single.xz
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-xz/single.xz
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/empty.zip
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/empty.zip
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/multiple.zip
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/multiple.zip
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/outside_parent.zip
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/outside_parent.zip
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/single.zip
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/single.zip
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/subdir.zip
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/subdir.zip
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/subdir_empty.zip
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/subdir_empty.zip
generated
vendored
Normal file
Binary file not shown.
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/subdir_missing_dir.zip
generated
vendored
Normal file
BIN
vendor/github.com/hashicorp/go-getter/test-fixtures/decompress-zip/subdir_missing_dir.zip
generated
vendored
Normal file
Binary file not shown.
0
vendor/github.com/hashicorp/go-getter/test-fixtures/detect-file-symlink-pwd/real/hello.txt
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/detect-file-symlink-pwd/real/hello.txt
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/detect-file-symlink-pwd/syml/pwd
generated
vendored
Symbolic link
1
vendor/github.com/hashicorp/go-getter/test-fixtures/detect-file-symlink-pwd/syml/pwd
generated
vendored
Symbolic link
@@ -0,0 +1 @@
|
||||
../real
|
||||
0
vendor/github.com/hashicorp/go-getter/test-fixtures/dup/foo/main.tf
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/dup/foo/main.tf
generated
vendored
Normal file
7
vendor/github.com/hashicorp/go-getter/test-fixtures/dup/main.tf
generated
vendored
Normal file
7
vendor/github.com/hashicorp/go-getter/test-fixtures/dup/main.tf
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
module "foo" {
|
||||
source = "./foo"
|
||||
}
|
||||
|
||||
module "foo" {
|
||||
source = "./foo"
|
||||
}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/netrc/basic
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/netrc/basic
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
machine example.com
|
||||
login foo
|
||||
password bar
|
||||
1
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output-to-module/child/main.tf
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output-to-module/child/main.tf
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
variable "memory" { default = "foo" }
|
||||
8
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output-to-module/main.tf
generated
vendored
Normal file
8
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output-to-module/main.tf
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
}
|
||||
|
||||
module "child2" {
|
||||
source = "./child"
|
||||
memory = "${module.child.memory_max}"
|
||||
}
|
||||
0
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output/child/main.tf
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output/child/main.tf
generated
vendored
Normal file
7
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output/main.tf
generated
vendored
Normal file
7
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-output/main.tf
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" {
|
||||
memory = "${module.child.memory}"
|
||||
}
|
||||
0
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-var/child/main.tf
generated
vendored
Normal file
0
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-var/child/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-var/main.tf
generated
vendored
Normal file
5
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-bad-var/main.tf
generated
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
|
||||
memory = "foo"
|
||||
}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-bad/child/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-bad/child/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Duplicate resources
|
||||
resource "aws_instance" "foo" {}
|
||||
resource "aws_instance" "foo" {}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-bad/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-bad/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module "foo" {
|
||||
source = "./child"
|
||||
}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-good/child/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-good/child/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
variable "memory" {}
|
||||
|
||||
output "result" {}
|
||||
8
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-good/main.tf
generated
vendored
Normal file
8
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-child-good/main.tf
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
memory = "1G"
|
||||
}
|
||||
|
||||
resource "aws_instance" "foo" {
|
||||
memory = "${module.child.result}"
|
||||
}
|
||||
1
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-required-var/child/main.tf
generated
vendored
Normal file
1
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-required-var/child/main.tf
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
variable "memory" {}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-required-var/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-required-var/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
module "child" {
|
||||
source = "./child"
|
||||
}
|
||||
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-root-bad/main.tf
generated
vendored
Normal file
3
vendor/github.com/hashicorp/go-getter/test-fixtures/validate-root-bad/main.tf
generated
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
# Duplicate resources
|
||||
resource "aws_instance" "foo" {}
|
||||
resource "aws_instance" "foo" {}
|
||||
Reference in New Issue
Block a user