├── .gitignore ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── archive ├── archive.go ├── archive_test.go ├── test-fixtures │ ├── archive-dir-mode │ │ └── file.txt │ ├── archive-file-compressed │ │ └── file.tar.gz │ ├── archive-file │ │ └── foo.txt │ ├── archive-flat │ │ ├── baz.txt │ │ └── foo.txt │ ├── archive-git │ │ ├── DOTgit │ │ │ ├── COMMIT_EDITMSG │ │ │ ├── HEAD │ │ │ ├── config │ │ │ ├── description │ │ │ ├── hooks │ │ │ │ ├── applypatch-msg.sample │ │ │ │ ├── commit-msg.sample │ │ │ │ ├── post-update.sample │ │ │ │ ├── pre-applypatch.sample │ │ │ │ ├── pre-commit.sample │ │ │ │ ├── pre-push.sample │ │ │ │ ├── pre-rebase.sample │ │ │ │ ├── prepare-commit-msg.sample │ │ │ │ └── update.sample │ │ │ ├── index │ │ │ ├── info │ │ │ │ └── exclude │ │ │ ├── logs │ │ │ │ ├── HEAD │ │ │ │ └── refs │ │ │ │ │ └── heads │ │ │ │ │ └── master │ │ │ ├── objects │ │ │ │ ├── 25 │ │ │ │ │ └── 7cc5642cb1a054f08cc83f2d943e56fd3ebe99 │ │ │ │ ├── 57 │ │ │ │ │ └── 16ca5987cbf97d6bb54920bea6adde242d87e6 │ │ │ │ ├── 75 │ │ │ │ │ └── 25d17cbbb56f3253a20903ffddc07c6c935c76 │ │ │ │ ├── 7e │ │ │ │ │ └── 49ea5550b356e32b63c044201f5f7da1e0925f │ │ │ │ └── 7f │ │ │ │ │ └── 7402c7d2a6e71ca3db3e236099771b160b8ad1 │ │ │ └── refs │ │ │ │ └── heads │ │ │ │ └── master │ │ ├── bar.txt │ │ ├── foo.txt │ │ ├── subdir │ │ │ └── hello.txt │ │ └── untracked.txt │ ├── archive-hg │ │ ├── .hg │ │ │ ├── 00changelog.i │ │ │ ├── cache │ │ │ │ └── branch2-served │ │ │ ├── dirstate │ │ │ ├── last-message.txt │ │ │ ├── requires │ │ │ ├── store │ │ │ │ ├── 00changelog.i │ │ │ │ ├── 00manifest.i │ │ │ │ ├── data │ │ │ │ │ ├── bar.txt.i │ │ │ │ │ ├── foo.txt.i │ │ │ │ │ └── subdir │ │ │ │ │ │ └── hello.txt.i │ │ │ │ ├── fncache │ │ │ │ ├── phaseroots │ │ │ │ ├── undo │ │ │ │ └── undo.phaseroots │ │ │ ├── undo.bookmarks │ │ │ ├── undo.branch │ │ │ ├── undo.desc │ │ │ └── undo.dirstate │ │ ├── bar.txt │ │ ├── foo.txt │ │ └── subdir │ │ │ └── hello.txt │ ├── archive-subdir-splat │ │ ├── bar.txt │ │ └── build │ │ │ ├── darwin-amd64 │ │ │ └── build.txt │ │ │ └── linux-amd64 │ │ │ └── build.txt │ ├── archive-subdir │ │ ├── bar.txt │ │ ├── foo.txt │ │ └── subdir │ │ │ └── hello.txt │ ├── archive-symlink-file │ │ ├── link │ │ │ ├── deeper │ │ │ │ ├── adeeperlink │ │ │ │ ├── linklink │ │ │ │ └── linklinklink │ │ │ └── link │ │ └── real │ │ │ └── foo.txt │ └── archive-symlink │ │ ├── link │ │ └── link │ │ └── real │ │ └── foo.txt ├── vcs.go └── vcs_test.go └── v1 ├── application.go ├── application_test.go ├── artifact.go ├── artifact_test.go ├── atlas_test.go ├── authentication.go ├── authentication_test.go ├── build_config.go ├── build_config_test.go ├── client.go ├── client_test.go ├── terraform.go ├── terraform_test.go ├── util.go └── util_test.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/README.md -------------------------------------------------------------------------------- /archive/archive.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/archive.go -------------------------------------------------------------------------------- /archive/archive_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/archive_test.go -------------------------------------------------------------------------------- /archive/test-fixtures/archive-dir-mode/file.txt: -------------------------------------------------------------------------------- 1 | I should be mode 0777 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-file-compressed/file.tar.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-file-compressed/file.tar.gz -------------------------------------------------------------------------------- /archive/test-fixtures/archive-file/foo.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-flat/baz.txt: -------------------------------------------------------------------------------- 1 | baz 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-flat/foo.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/COMMIT_EDITMSG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/COMMIT_EDITMSG -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/HEAD: -------------------------------------------------------------------------------- 1 | ref: refs/heads/master 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/config -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/description: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/description -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/applypatch-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/applypatch-msg.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/commit-msg.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/post-update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/post-update.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/pre-applypatch.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/pre-applypatch.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/pre-commit.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/pre-commit.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/pre-push.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/pre-push.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/pre-rebase.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/pre-rebase.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/prepare-commit-msg.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/prepare-commit-msg.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/hooks/update.sample: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/hooks/update.sample -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/index: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/index -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/info/exclude: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/info/exclude -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/logs/HEAD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/logs/HEAD -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/logs/refs/heads/master: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/logs/refs/heads/master -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/objects/25/7cc5642cb1a054f08cc83f2d943e56fd3ebe99 -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/objects/57/16ca5987cbf97d6bb54920bea6adde242d87e6 -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/objects/75/25d17cbbb56f3253a20903ffddc07c6c935c76: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/objects/75/25d17cbbb56f3253a20903ffddc07c6c935c76 -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/objects/7e/49ea5550b356e32b63c044201f5f7da1e0925f: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/objects/7e/49ea5550b356e32b63c044201f5f7da1e0925f -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/objects/7f/7402c7d2a6e71ca3db3e236099771b160b8ad1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-git/DOTgit/objects/7f/7402c7d2a6e71ca3db3e236099771b160b8ad1 -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/DOTgit/refs/heads/master: -------------------------------------------------------------------------------- 1 | 7525d17cbbb56f3253a20903ffddc07c6c935c76 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/bar.txt: -------------------------------------------------------------------------------- 1 | bar 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/foo.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/subdir/hello.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-git/untracked.txt: -------------------------------------------------------------------------------- 1 | nope 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/00changelog.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/00changelog.i -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/cache/branch2-served: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/cache/branch2-served -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/dirstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/dirstate -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/last-message.txt: -------------------------------------------------------------------------------- 1 | Tubes 2 | 3 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/requires: -------------------------------------------------------------------------------- 1 | dotencode 2 | fncache 3 | revlogv1 4 | store 5 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/00changelog.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/store/00changelog.i -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/00manifest.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/store/00manifest.i -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/data/bar.txt.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/store/data/bar.txt.i -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/data/foo.txt.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/store/data/foo.txt.i -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/data/subdir/hello.txt.i: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/store/data/subdir/hello.txt.i -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/fncache: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/store/fncache -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/phaseroots: -------------------------------------------------------------------------------- 1 | 1 2e4c00191f239e489dca961dbd6fca8fe0d93e2e 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/undo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/store/undo -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/store/undo.phaseroots: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/undo.bookmarks: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/undo.branch: -------------------------------------------------------------------------------- 1 | default -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/undo.desc: -------------------------------------------------------------------------------- 1 | 0 2 | commit 3 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/.hg/undo.dirstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/test-fixtures/archive-hg/.hg/undo.dirstate -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/bar.txt: -------------------------------------------------------------------------------- 1 | bar 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/foo.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-hg/subdir/hello.txt: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-subdir-splat/bar.txt: -------------------------------------------------------------------------------- 1 | bar 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-subdir-splat/build/darwin-amd64/build.txt: -------------------------------------------------------------------------------- 1 | build.txt 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-subdir-splat/build/linux-amd64/build.txt: -------------------------------------------------------------------------------- 1 | linux-amd64 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-subdir/bar.txt: -------------------------------------------------------------------------------- 1 | bar 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-subdir/foo.txt: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-subdir/subdir/hello.txt: -------------------------------------------------------------------------------- 1 | hello 2 | -------------------------------------------------------------------------------- /archive/test-fixtures/archive-symlink-file/link/deeper/adeeperlink: -------------------------------------------------------------------------------- 1 | ../../real/foo.txt -------------------------------------------------------------------------------- /archive/test-fixtures/archive-symlink-file/link/deeper/linklink: -------------------------------------------------------------------------------- 1 | adeeperlink -------------------------------------------------------------------------------- /archive/test-fixtures/archive-symlink-file/link/deeper/linklinklink: -------------------------------------------------------------------------------- 1 | linklink -------------------------------------------------------------------------------- /archive/test-fixtures/archive-symlink-file/link/link: -------------------------------------------------------------------------------- 1 | ../real/foo.txt -------------------------------------------------------------------------------- /archive/test-fixtures/archive-symlink-file/real/foo.txt: -------------------------------------------------------------------------------- 1 | tasty foo -------------------------------------------------------------------------------- /archive/test-fixtures/archive-symlink/link/link: -------------------------------------------------------------------------------- 1 | ../real -------------------------------------------------------------------------------- /archive/test-fixtures/archive-symlink/real/foo.txt: -------------------------------------------------------------------------------- 1 | tasty foo -------------------------------------------------------------------------------- /archive/vcs.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/vcs.go -------------------------------------------------------------------------------- /archive/vcs_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/archive/vcs_test.go -------------------------------------------------------------------------------- /v1/application.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/application.go -------------------------------------------------------------------------------- /v1/application_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/application_test.go -------------------------------------------------------------------------------- /v1/artifact.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/artifact.go -------------------------------------------------------------------------------- /v1/artifact_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/artifact_test.go -------------------------------------------------------------------------------- /v1/atlas_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/atlas_test.go -------------------------------------------------------------------------------- /v1/authentication.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/authentication.go -------------------------------------------------------------------------------- /v1/authentication_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/authentication_test.go -------------------------------------------------------------------------------- /v1/build_config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/build_config.go -------------------------------------------------------------------------------- /v1/build_config_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/build_config_test.go -------------------------------------------------------------------------------- /v1/client.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/client.go -------------------------------------------------------------------------------- /v1/client_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/client_test.go -------------------------------------------------------------------------------- /v1/terraform.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/terraform.go -------------------------------------------------------------------------------- /v1/terraform_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/terraform_test.go -------------------------------------------------------------------------------- /v1/util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/util.go -------------------------------------------------------------------------------- /v1/util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hashicorp/atlas-go/HEAD/v1/util_test.go --------------------------------------------------------------------------------