├── .go-version ├── vendor ├── go.opencensus.io │ ├── AUTHORS │ ├── .gitignore │ ├── .travis.yml │ └── go.mod ├── github.com │ ├── hashicorp │ │ ├── go-hclog │ │ │ ├── .gitignore │ │ │ └── go.mod │ │ ├── hcl2 │ │ │ ├── hcl │ │ │ │ ├── doc.go │ │ │ │ ├── hclsyntax │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── file.go │ │ │ │ │ └── generate.go │ │ │ │ └── json │ │ │ │ │ ├── doc.go │ │ │ │ │ └── peeker.go │ │ │ ├── hcled │ │ │ │ └── doc.go │ │ │ ├── ext │ │ │ │ └── typeexpr │ │ │ │ │ └── doc.go │ │ │ ├── gohcl │ │ │ │ └── types.go │ │ │ └── hcldec │ │ │ │ └── block_labels.go │ │ ├── go-plugin │ │ │ ├── .gitignore │ │ │ ├── internal │ │ │ │ └── plugin │ │ │ │ │ ├── gen.go │ │ │ │ │ ├── grpc_controller.proto │ │ │ │ │ └── grpc_broker.proto │ │ │ ├── stream.go │ │ │ ├── process_posix.go │ │ │ └── process.go │ │ ├── yamux │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ ├── errwrap │ │ │ └── go.mod │ │ ├── go-uuid │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── go-version │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── version_collection.go │ │ ├── logutils │ │ │ ├── go.mod │ │ │ └── .gitignore │ │ ├── go-cleanhttp │ │ │ └── go.mod │ │ ├── go-safetemp │ │ │ ├── go.mod │ │ │ └── README.md │ │ ├── hcl │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ ├── Makefile │ │ │ ├── hcl │ │ │ │ └── parser │ │ │ │ │ └── error.go │ │ │ └── appveyor.yml │ │ ├── go-multierror │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.sum │ │ ├── terraform-plugin-sdk │ │ │ ├── internal │ │ │ │ ├── modsdir │ │ │ │ │ ├── paths.go │ │ │ │ │ └── doc.go │ │ │ │ ├── states │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── statefile │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── output_value.go │ │ │ │ ├── providers │ │ │ │ │ └── doc.go │ │ │ │ ├── provisioners │ │ │ │ │ └── doc.go │ │ │ │ ├── registry │ │ │ │ │ ├── response │ │ │ │ │ │ ├── redirect.go │ │ │ │ │ │ ├── module_list.go │ │ │ │ │ │ └── provider_list.go │ │ │ │ │ └── regsrc │ │ │ │ │ │ └── regsrc.go │ │ │ │ ├── initwd │ │ │ │ │ ├── inode_windows.go │ │ │ │ │ ├── doc.go │ │ │ │ │ ├── inode_freebsd.go │ │ │ │ │ └── inode.go │ │ │ │ ├── configs │ │ │ │ │ └── configload │ │ │ │ │ │ ├── inode_windows.go │ │ │ │ │ │ ├── doc.go │ │ │ │ │ │ └── inode_freebsd.go │ │ │ │ ├── plans │ │ │ │ │ ├── objchange │ │ │ │ │ │ └── doc.go │ │ │ │ │ └── doc.go │ │ │ │ ├── addrs │ │ │ │ │ ├── provider_type.go │ │ │ │ │ ├── path_attr.go │ │ │ │ │ ├── count_attr.go │ │ │ │ │ ├── self.go │ │ │ │ │ ├── terraform_attr.go │ │ │ │ │ └── for_each_attr.go │ │ │ │ ├── lang │ │ │ │ │ ├── doc.go │ │ │ │ │ └── blocktoattr │ │ │ │ │ │ └── doc.go │ │ │ │ ├── helper │ │ │ │ │ └── plugin │ │ │ │ │ │ └── doc.go │ │ │ │ ├── moduledeps │ │ │ │ │ └── doc.go │ │ │ │ ├── command │ │ │ │ │ └── format │ │ │ │ │ │ └── format.go │ │ │ │ └── earlyconfig │ │ │ │ │ └── module.go │ │ │ ├── helper │ │ │ │ ├── acctest │ │ │ │ │ └── acctest.go │ │ │ │ ├── schema │ │ │ │ │ ├── equal.go │ │ │ │ │ └── field_writer.go │ │ │ │ └── structure │ │ │ │ │ ├── expand_json.go │ │ │ │ │ ├── flatten_json.go │ │ │ │ │ └── suppress_json_diff.go │ │ │ ├── terraform │ │ │ │ ├── features.go │ │ │ │ ├── ui_output.go │ │ │ │ ├── eval_noop.go │ │ │ │ ├── ui_output_callback.go │ │ │ │ ├── graph_dot.go │ │ │ │ ├── node_provider.go │ │ │ │ ├── graph_interface_subgraph.go │ │ │ │ ├── instancetype.go │ │ │ │ ├── resource_mode.go │ │ │ │ ├── testing.go │ │ │ │ └── ui_output_mock.go │ │ │ └── plugin │ │ │ │ └── plugin.go │ │ ├── go-getter │ │ │ ├── helper │ │ │ │ └── url │ │ │ │ │ ├── url_unix.go │ │ │ │ │ └── url.go │ │ │ ├── common.go │ │ │ ├── .travis.yml │ │ │ ├── appveyor.yml │ │ │ └── storage.go │ │ ├── terraform-config-inspect │ │ │ └── tfconfig │ │ │ │ ├── output.go │ │ │ │ ├── module_call.go │ │ │ │ └── provider_ref.go │ │ └── hil │ │ │ └── ast │ │ │ └── stack.go │ ├── sirupsen │ │ └── logrus │ │ │ ├── .gitignore │ │ │ ├── terminal_check_appengine.go │ │ │ ├── terminal_bsd.go │ │ │ ├── appveyor.yml │ │ │ ├── terminal_check_notappengine.go │ │ │ ├── .travis.yml │ │ │ └── terminal_linux.go │ ├── spf13 │ │ ├── pflag │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ ├── afero │ │ │ ├── go.mod │ │ │ ├── go.sum │ │ │ ├── .travis.yml │ │ │ └── appveyor.yml │ │ ├── cobra │ │ │ ├── command_notwin.go │ │ │ ├── .mailmap │ │ │ └── command_win.go │ │ ├── cast │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ │ ├── jwalterweatherman │ │ │ └── .gitignore │ │ └── viper │ │ │ └── .gitignore │ ├── golangci │ │ ├── revgrep │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ │ ├── dupl │ │ │ ├── .travis.yml │ │ │ └── printer │ │ │ │ └── printer.go │ │ ├── lint-1 │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── CONTRIBUTING.md │ │ ├── go-tools │ │ │ ├── ssa │ │ │ │ ├── write.go │ │ │ │ ├── identical_17.go │ │ │ │ └── identical.go │ │ │ ├── version │ │ │ │ └── version.go │ │ │ ├── config │ │ │ │ └── example.conf │ │ │ └── simple │ │ │ │ └── CONTRIBUTING.md │ │ ├── maligned │ │ │ └── README │ │ ├── gocyclo │ │ │ └── CONTRIBUTORS │ │ ├── golangci-lint │ │ │ ├── pkg │ │ │ │ ├── lint │ │ │ │ │ └── linter │ │ │ │ │ │ ├── metalinter.go │ │ │ │ │ │ └── linter.go │ │ │ │ ├── printers │ │ │ │ │ └── printer.go │ │ │ │ ├── result │ │ │ │ │ └── processors │ │ │ │ │ │ └── processor.go │ │ │ │ ├── logutils │ │ │ │ │ └── out.go │ │ │ │ └── timeutils │ │ │ │ │ └── track.go │ │ │ └── cmd │ │ │ │ └── golangci-lint │ │ │ │ ├── mod_version.go │ │ │ │ └── main.go │ │ ├── ineffassign │ │ │ ├── README.md │ │ │ ├── bugs │ │ │ └── .gitignore │ │ ├── gosec │ │ │ ├── Dockerfile │ │ │ ├── .gitignore │ │ │ └── .goreleaser.yml │ │ ├── misspell │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ │ └── go-misc │ │ │ └── deadcode │ │ │ └── README.md │ ├── mitchellh │ │ ├── reflectwalk │ │ │ ├── .travis.yml │ │ │ ├── go.mod │ │ │ ├── README.md │ │ │ └── location.go │ │ ├── go-homedir │ │ │ └── go.mod │ │ ├── colorstring │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── go-wordwrap │ │ │ └── go.mod │ │ ├── mapstructure │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── hashstructure │ │ │ └── go.mod │ │ ├── go-testing-interface │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── copystructure │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── go.sum │ │ │ └── copier_time.go │ │ └── cli │ │ │ ├── .travis.yml │ │ │ ├── ui_writer.go │ │ │ └── go.mod │ ├── google │ │ ├── uuid │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ ├── CONTRIBUTORS │ │ │ ├── CONTRIBUTING.md │ │ │ └── doc.go │ │ └── go-cmp │ │ │ └── cmp │ │ │ ├── internal │ │ │ ├── flags │ │ │ │ ├── toolchain_legacy.go │ │ │ │ ├── toolchain_recent.go │ │ │ │ └── flags.go │ │ │ └── diff │ │ │ │ └── debug_disable.go │ │ │ └── export_panic.go │ ├── jstemmer │ │ └── go-junit-report │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── armon │ │ └── go-radix │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── go-toolsmith │ │ ├── astp │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.sum │ │ ├── typep │ │ │ ├── go.mod │ │ │ ├── doc.go │ │ │ └── .travis.yml │ │ ├── astequal │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── strparse │ │ │ ├── go.mod │ │ │ └── .travis.yml │ │ ├── astcopy │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.sum │ │ ├── astfmt │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.sum │ │ └── astcast │ │ │ ├── go.mod │ │ │ ├── .travis.yml │ │ │ └── go.sum │ ├── golang │ │ ├── snappy │ │ │ ├── go.mod │ │ │ ├── decode_amd64.go │ │ │ └── .gitignore │ │ ├── protobuf │ │ │ ├── AUTHORS │ │ │ └── CONTRIBUTORS │ │ └── mock │ │ │ └── AUTHORS │ ├── kisielk │ │ └── gotool │ │ │ ├── go.mod │ │ │ ├── go13.go │ │ │ ├── go14-15.go │ │ │ ├── go16-18.go │ │ │ ├── .travis.yml │ │ │ └── README.md │ ├── nbutton23 │ │ └── zxcvbn-go │ │ │ └── .gitignore │ ├── agext │ │ └── levenshtein │ │ │ ├── go.mod │ │ │ ├── MAINTAINERS │ │ │ ├── NOTICE │ │ │ └── test.sh │ ├── stoewer │ │ └── go-strcase │ │ │ ├── .gometalinter.json │ │ │ ├── go.mod │ │ │ ├── .gitignore │ │ │ ├── kebab.go │ │ │ └── doc.go │ ├── bgentry │ │ └── speakeasy │ │ │ └── .gitignore │ ├── pelletier │ │ └── go-toml │ │ │ ├── .gitignore │ │ │ └── fuzz.sh │ ├── fatih │ │ └── color │ │ │ └── .travis.yml │ ├── zclconf │ │ ├── go-cty-yaml │ │ │ ├── .travis.yml │ │ │ ├── go.mod │ │ │ └── CHANGELOG.md │ │ └── go-cty │ │ │ └── cty │ │ │ ├── msgpack │ │ │ └── infinity.go │ │ │ ├── set │ │ │ └── iterator.go │ │ │ ├── function │ │ │ └── doc.go │ │ │ └── gocty │ │ │ └── doc.go │ ├── BurntSushi │ │ └── toml │ │ │ ├── session.vim │ │ │ ├── .gitignore │ │ │ ├── COMPATIBLE │ │ │ ├── .travis.yml │ │ │ └── Makefile │ ├── mattn │ │ ├── go-isatty │ │ │ ├── doc.go │ │ │ ├── .travis.yml │ │ │ ├── isatty_others.go │ │ │ ├── isatty_solaris.go │ │ │ ├── isatty_linux.go │ │ │ ├── isatty_appengine.go │ │ │ ├── isatty_bsd.go │ │ │ └── isatty_linux_ppc64x.go │ │ └── go-colorable │ │ │ └── .travis.yml │ ├── jmespath │ │ └── go-jmespath │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ └── README.md │ ├── fsnotify │ │ └── fsnotify │ │ │ ├── .editorconfig │ │ │ ├── .gitignore │ │ │ ├── open_mode_bsd.go │ │ │ └── open_mode_darwin.go │ ├── posener │ │ └── complete │ │ │ ├── .gitignore │ │ │ ├── go.mod │ │ │ ├── match │ │ │ ├── match.go │ │ │ └── prefix.go │ │ │ ├── .travis.yml │ │ │ ├── predict_set.go │ │ │ ├── test.sh │ │ │ └── go.sum │ ├── sourcegraph │ │ └── go-diff │ │ │ └── diff │ │ │ └── doc.go │ ├── gobwas │ │ └── glob │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── syntax │ │ │ └── syntax.go │ │ │ └── match │ │ │ └── nothing.go │ ├── googleapis │ │ └── gax-go │ │ │ └── v2 │ │ │ └── go.mod │ ├── magiconair │ │ └── properties │ │ │ ├── .gitignore │ │ │ └── .travis.yml │ ├── ulikunitz │ │ └── xz │ │ │ ├── fox.xz │ │ │ ├── lzma │ │ │ └── fox.lzma │ │ │ ├── make-docs │ │ │ └── .gitignore │ ├── vmihailenco │ │ └── msgpack │ │ │ ├── Makefile │ │ │ ├── .travis.yml │ │ │ └── msgpack.go │ ├── pierrec │ │ └── lz4 │ │ │ ├── debug_stub.go │ │ │ ├── .travis.yml │ │ │ └── debug.go │ ├── aws │ │ └── aws-sdk-go │ │ │ ├── NOTICE.txt │ │ │ ├── internal │ │ │ ├── ini │ │ │ │ ├── empty_token.go │ │ │ │ ├── comma_token.go │ │ │ │ └── fuzz.go │ │ │ └── sdkio │ │ │ │ ├── io_go1.6.go │ │ │ │ └── io_go1.7.go │ │ │ ├── service │ │ │ └── s3 │ │ │ │ └── platform_handlers.go │ │ │ ├── aws │ │ │ ├── signer │ │ │ │ └── v4 │ │ │ │ │ ├── options.go │ │ │ │ │ └── uri_path.go │ │ │ ├── request │ │ │ │ ├── connection_reset_error_other.go │ │ │ │ ├── connection_reset_error.go │ │ │ │ ├── request_context_1_6.go │ │ │ │ ├── http_request.go │ │ │ │ └── request_context.go │ │ │ ├── version.go │ │ │ ├── credentials │ │ │ │ └── example.ini │ │ │ ├── url.go │ │ │ ├── context_1_9.go │ │ │ ├── jsonvalue.go │ │ │ └── client │ │ │ │ └── metadata │ │ │ │ └── client_info.go │ │ │ └── private │ │ │ └── protocol │ │ │ └── eventstream │ │ │ └── eventstreamapi │ │ │ └── error.go │ ├── go-lintpack │ │ └── lintpack │ │ │ ├── .travis.yml │ │ │ ├── doc.go │ │ │ ├── Makefile │ │ │ └── astwalk │ │ │ └── func_decl_walker.go │ ├── gostaticanalysis │ │ └── analysisutil │ │ │ ├── go.mod │ │ │ ├── README.md │ │ │ └── file.go │ ├── keybase │ │ └── go-crypto │ │ │ ├── AUTHORS │ │ │ ├── CONTRIBUTORS │ │ │ ├── openpgp │ │ │ └── patch.sh │ │ │ └── curve25519 │ │ │ └── const_amd64.h │ ├── pkg │ │ └── errors │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── OpenPeeDeeP │ │ └── depguard │ │ │ └── .gitignore │ ├── oklog │ │ └── run │ │ │ ├── .travis.yml │ │ │ └── .gitignore │ ├── gammazero │ │ ├── deque │ │ │ ├── .travis.yml │ │ │ ├── go.test.sh │ │ │ └── .gitignore │ │ └── workerpool │ │ │ ├── .travis.yml │ │ │ ├── go.test.sh │ │ │ └── .gitignore │ ├── go-critic │ │ └── go-critic │ │ │ └── checkers │ │ │ └── checkers.go │ ├── terraform-providers │ │ └── terraform-provider-random │ │ │ └── random │ │ │ ├── resource_password.go │ │ │ └── resource_string.go │ └── client9 │ │ └── misspell │ │ ├── .travis.yml │ │ └── .gitignore ├── google.golang.org │ ├── grpc │ │ ├── AUTHORS │ │ └── install_gae.sh │ ├── appengine │ │ ├── internal │ │ │ ├── identity_flex.go │ │ │ ├── main_common.go │ │ │ └── main.go │ │ ├── .travis.yml │ │ ├── travis_test.sh │ │ ├── go.mod │ │ └── socket │ │ │ └── doc.go │ └── api │ │ ├── AUTHORS │ │ └── internal │ │ └── gensupport │ │ └── doc.go ├── golang.org │ └── x │ │ ├── net │ │ ├── http2 │ │ │ ├── .gitignore │ │ │ └── Makefile │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── sys │ │ ├── unix │ │ │ ├── .gitignore │ │ │ ├── endian_big.go │ │ │ ├── endian_little.go │ │ │ ├── constants.go │ │ │ ├── syscall_linux_amd64_gc.go │ │ │ ├── aliases.go │ │ │ ├── pagesize_unix.go │ │ │ ├── readdirent_getdents.go │ │ │ ├── fcntl_linux_32bit.go │ │ │ ├── asm_aix_ppc64.s │ │ │ └── asm_solaris_amd64.s │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── cpu │ │ │ ├── cpu_arm.go │ │ │ ├── cpu_mipsx.go │ │ │ ├── cpu_mips64x.go │ │ │ ├── cpu_other_arm64.go │ │ │ ├── cpu_wasm.go │ │ │ └── asm_aix_ppc64.s │ │ └── windows │ │ │ ├── aliases.go │ │ │ ├── asm_windows_arm.s │ │ │ ├── mksyscall.go │ │ │ ├── asm_windows_386.s │ │ │ └── asm_windows_amd64.s │ │ ├── lint │ │ ├── go.mod │ │ ├── .travis.yml │ │ ├── CONTRIBUTING.md │ │ └── golint │ │ │ └── importcomment.go │ │ ├── tools │ │ ├── go │ │ │ ├── ssa │ │ │ │ ├── identical_17.go │ │ │ │ └── identical.go │ │ │ ├── ast │ │ │ │ └── astutil │ │ │ │ │ └── util.go │ │ │ └── internal │ │ │ │ └── gcimporter │ │ │ │ └── newInterface11.go │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── cmd │ │ │ └── goimports │ │ │ │ └── goimports_not_gc.go │ │ └── internal │ │ │ └── fastwalk │ │ │ ├── fastwalk_dirent_fileno.go │ │ │ ├── fastwalk_dirent_ino.go │ │ │ └── fastwalk_dirent_namlen_bsd.go │ │ ├── exp │ │ ├── AUTHORS │ │ └── CONTRIBUTORS │ │ ├── text │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ └── secure │ │ │ └── bidirule │ │ │ ├── bidirule10.0.0.go │ │ │ └── bidirule9.0.0.go │ │ ├── crypto │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── ssh │ │ │ └── terminal │ │ │ │ ├── util_linux.go │ │ │ │ ├── util_aix.go │ │ │ │ └── util_bsd.go │ │ ├── poly1305 │ │ │ └── mac_noasm.go │ │ ├── curve25519 │ │ │ └── const_amd64.h │ │ └── internal │ │ │ └── chacha20 │ │ │ └── chacha_noasm.go │ │ └── oauth2 │ │ ├── AUTHORS │ │ ├── CONTRIBUTORS │ │ ├── internal │ │ ├── doc.go │ │ └── client_appengine.go │ │ ├── go.mod │ │ └── .travis.yml ├── sourcegraph.com │ └── sqs │ │ └── pbtypes │ │ ├── README.md │ │ ├── doc.go │ │ ├── gen.go │ │ └── void.proto ├── mvdan.cc │ └── lint │ │ └── .travis.yml ├── gopkg.in │ └── yaml.v2 │ │ ├── go.mod │ │ └── .travis.yml ├── honnef.co │ └── go │ │ └── tools │ │ ├── ssa │ │ ├── write.go │ │ ├── identical_17.go │ │ ├── identical.go │ │ └── staticcheck.conf │ │ ├── version │ │ └── buildinfo111.go │ │ ├── lint │ │ ├── lintutil │ │ │ ├── stats.go │ │ │ ├── stats_posix.go │ │ │ └── stats_bsd.go │ │ └── stats.go │ │ ├── printf │ │ └── fuzz.go │ │ ├── config │ │ └── example.conf │ │ ├── cmd │ │ └── staticcheck │ │ │ └── README.md │ │ ├── simple │ │ └── CONTRIBUTING.md │ │ └── staticcheck │ │ ├── CONTRIBUTING.md │ │ └── buildtag.go └── cloud.google.com │ └── go │ ├── bigtable │ ├── CHANGES.md │ └── .repo-metadata.json │ ├── storage │ ├── CHANGES.md │ ├── go.mod │ └── .repo-metadata.json │ ├── issue_template.md │ └── iam │ └── .repo-metadata.json ├── examples ├── two-tier │ ├── .gitignore │ ├── terraform.tfvars.example │ ├── output.tf │ └── scripts │ │ └── install.sh ├── cloud-armor │ └── .gitignore ├── shared-vpc │ ├── .gitignore │ ├── output.tf │ ├── terraform.tfvars.example │ ├── scripts │ │ └── install-vm.sh │ └── variables.tf ├── internal-load-balancing │ ├── .gitignore │ ├── output.tf │ ├── terraform.tfvars.example │ └── variables.tf ├── content-based-load-balancing │ ├── .gitignore │ ├── output.tf │ ├── terraform.tfvars.example │ ├── scripts │ │ ├── install-www.sh │ │ └── install-video.sh │ └── variables.tf ├── endpoints-on-compute-engine │ └── .gitignore ├── vpn │ ├── variables.tf │ └── README.md └── example-versioned-module │ └── ip │ ├── outputs.tf │ ├── variables.tf │ └── main.tf ├── google ├── resource_dns_policy_test.go ├── resource_compute_region_url_map_test.go ├── data_source_google_compute_resource_policy.go ├── resource_compute_region_health_check_test.go ├── data_source_google_compute_resource_policy_test.go ├── resource_compute_region_target_http_proxy_test.go ├── resource_compute_region_target_https_proxy_test.go ├── test-fixtures │ ├── header-logo.png │ ├── test_api_descriptor.pb │ ├── appengine │ │ └── hello-world.zip │ ├── fake_account.json │ └── cloudfunctions │ │ ├── http_trigger.js │ │ ├── http_trigger_update.js │ │ ├── firestore_trigger.js │ │ └── pubsub_trigger.js ├── healthcare_utils.go ├── iam_healthcare_dataset.go ├── iam_iap_tunnel_instance.go ├── iam_healthcare_dicom_store.go ├── iam_healthcare_fhir_store.go ├── iam_healthcare_hl7_v2_store.go ├── resource_cloudscheduler_job_test.go ├── resource_filestore_instance_test.go ├── resource_healthcare_dataset_test.go ├── resource_containeranalysis_note_test.go ├── resource_healthcare_dataset_iam_test.go ├── resource_healthcare_dicom_store_test.go ├── resource_healthcare_fhir_store_test.go ├── resource_healthcare_hl7_v2_store_test.go ├── resource_iap_tunnel_instance_iam_test.go ├── resource_healthcare_dicom_store_iam_test.go ├── resource_healthcare_fhir_store_iam_test.go ├── resource_healthcare_hl7_v2_store_iam_test.go ├── resource_google_security_scanner_scan_config_test.go └── resource_cloud_run_service_test.go ├── version └── version.go ├── tools.go ├── .github ├── CODE_OF_CONDUCT.md └── SUPPORT.md ├── main.go ├── staticcheck.conf └── scripts ├── gogetcookie.sh └── gofmtcheck.sh /.go-version: -------------------------------------------------------------------------------- 1 | 1.13.0 2 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /examples/two-tier/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfvars 2 | -------------------------------------------------------------------------------- /google/resource_dns_policy_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-hclog/.gitignore: -------------------------------------------------------------------------------- 1 | .idea* -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/AUTHORS: -------------------------------------------------------------------------------- 1 | Google Inc. 2 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.gitignore: -------------------------------------------------------------------------------- 1 | logrus 2 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/* 2 | 3 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/revgrep/.gitignore: -------------------------------------------------------------------------------- 1 | testdata/git 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcl/doc.go: -------------------------------------------------------------------------------- 1 | package hcl 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | h2i/h2i 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/.gitignore: -------------------------------------------------------------------------------- 1 | _obj/ 2 | unix.test 3 | -------------------------------------------------------------------------------- /google/resource_compute_region_url_map_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/reflectwalk/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | -------------------------------------------------------------------------------- /google/data_source_google_compute_resource_policy.go: -------------------------------------------------------------------------------- 1 | package google 2 | -------------------------------------------------------------------------------- /google/resource_compute_region_health_check_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/google/uuid 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | .idea 3 | -------------------------------------------------------------------------------- /vendor/github.com/jstemmer/go-junit-report/.gitignore: -------------------------------------------------------------------------------- 1 | go-junit-report 2 | -------------------------------------------------------------------------------- /google/data_source_google_compute_resource_policy_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | -------------------------------------------------------------------------------- /google/resource_compute_region_target_http_proxy_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | -------------------------------------------------------------------------------- /google/resource_compute_region_target_https_proxy_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-radix/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/armon/go-radix 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astp/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | pkg 3 | src/main 4 | tmp -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/golang/snappy 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/yamux/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/yamux 2 | -------------------------------------------------------------------------------- /vendor/github.com/kisielk/gotool/go.mod: -------------------------------------------------------------------------------- 1 | module "github.com/kisielk/gotool" 2 | -------------------------------------------------------------------------------- /vendor/github.com/nbutton23/zxcvbn-go/.gitignore: -------------------------------------------------------------------------------- 1 | zxcvbn 2 | debug.test 3 | -------------------------------------------------------------------------------- /vendor/github.com/agext/levenshtein/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/agext/levenshtein 2 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-radix/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/errwrap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/errwrap 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-uuid/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-uuid 2 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/.gometalinter.json: -------------------------------------------------------------------------------- 1 | { 2 | "Cyclo": 15 3 | } -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/typep/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-toolsmith/typep 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-version/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-version 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/logutils/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/logutils 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-homedir/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-homedir 2 | -------------------------------------------------------------------------------- /vendor/github.com/bgentry/speakeasy/.gitignore: -------------------------------------------------------------------------------- 1 | example/example 2 | example/example.exe 3 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astequal/.gitignore: -------------------------------------------------------------------------------- 1 | bin 2 | pkg 3 | src/main 4 | tmp 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astequal/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-toolsmith/astequal 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/strparse/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-toolsmith/strparse 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-cleanhttp/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-cleanhttp 2 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-safetemp/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-safetemp 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/colorstring/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/colorstring 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-wordwrap/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-wordwrap 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/mapstructure 2 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/reflectwalk/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/reflectwalk 2 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/.gitignore: -------------------------------------------------------------------------------- 1 | test_program/test_program_bin 2 | fuzz/ 3 | -------------------------------------------------------------------------------- /vendor/github.com/agext/levenshtein/MAINTAINERS: -------------------------------------------------------------------------------- 1 | Alex Bucataru (@AlexBucataru) 2 | -------------------------------------------------------------------------------- /vendor/github.com/fatih/color/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.8.x 4 | - tip 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/hashstructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/hashstructure 2 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/http2/Makefile: -------------------------------------------------------------------------------- 1 | curlimage: 2 | docker build -t gohttp2/curl . 3 | 4 | -------------------------------------------------------------------------------- /vendor/sourcegraph.com/sqs/pbtypes/README.md: -------------------------------------------------------------------------------- 1 | # pbtypes 2 | 3 | protobuf helper types 4 | 5 | -------------------------------------------------------------------------------- /examples/cloud-armor/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfstate 2 | terraform.tfstate.backup 3 | terraform.tfvars 4 | -------------------------------------------------------------------------------- /examples/shared-vpc/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfstate 2 | terraform.tfstate.backup 3 | terraform.tfvars 4 | -------------------------------------------------------------------------------- /vendor/github.com/zclconf/go-cty-yaml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.12 5 | 6 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/session.vim: -------------------------------------------------------------------------------- 1 | au BufWritePost *.go silent!make tags > /dev/null 2>&1 2 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/typep/doc.go: -------------------------------------------------------------------------------- 1 | // Package typep provides type predicates. 2 | package typep 3 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/dupl/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.3 4 | - 1.8 5 | - 1.9 6 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-testing-interface/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/go-testing-interface 2 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.gitignore: -------------------------------------------------------------------------------- 1 | TAGS 2 | tags 3 | .*.swp 4 | tomlcheck/tomlcheck 5 | toml.test 6 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/doc.go: -------------------------------------------------------------------------------- 1 | // Package isatty implements interface to isatty 2 | package isatty 3 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/spf13/afero 2 | 3 | require golang.org/x/text v0.3.0 4 | -------------------------------------------------------------------------------- /examples/internal-load-balancing/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfstate 2 | terraform.tfstate.backup 3 | terraform.tfvars 4 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.gitignore: -------------------------------------------------------------------------------- 1 | /jpgo 2 | jmespath-fuzz.zip 3 | cpu.out 4 | go-jmespath.test 5 | -------------------------------------------------------------------------------- /examples/content-based-load-balancing/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfstate 2 | terraform.tfstate.backup 3 | terraform.tfvars 4 | -------------------------------------------------------------------------------- /examples/endpoints-on-compute-engine/.gitignore: -------------------------------------------------------------------------------- 1 | terraform.tfstate 2 | terraform.tfstate.backup 3 | terraform.tfvars 4 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | indent_style = tab 5 | indent_size = 4 6 | -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | coverage.txt 3 | gocomplete/gocomplete 4 | example/self/self 5 | -------------------------------------------------------------------------------- /vendor/github.com/sourcegraph/go-diff/diff/doc.go: -------------------------------------------------------------------------------- 1 | // Package diff provides a parser for unified diffs. 2 | package diff 3 | -------------------------------------------------------------------------------- /vendor/github.com/gobwas/glob/.gitignore: -------------------------------------------------------------------------------- 1 | glob.iml 2 | .idea 3 | *.cpu 4 | *.mem 5 | *.test 6 | *.dot 7 | *.png 8 | *.svg 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/hcl 2 | 3 | require github.com/davecgh/go-spew v1.1.1 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/lint/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/lint 2 | 3 | require golang.org/x/tools v0.0.0-20190311212946-11955173bddd 4 | -------------------------------------------------------------------------------- /vendor/mvdan.cc/lint/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.9.x 6 | 7 | go_import_path: mvdan.cc/lint 8 | -------------------------------------------------------------------------------- /vendor/github.com/googleapis/gax-go/v2/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/googleapis/gax-go/v2 2 | 3 | require google.golang.org/grpc v1.19.0 4 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.gitignore: -------------------------------------------------------------------------------- 1 | *.sublime-project 2 | *.sublime-workspace 3 | *.un~ 4 | *.swp 5 | .idea/ 6 | *.iml 7 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_notwin.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package cobra 4 | 5 | var preExecHookFn func(*Command) 6 | -------------------------------------------------------------------------------- /vendor/github.com/zclconf/go-cty-yaml/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/zclconf/go-cty-yaml 2 | 3 | require github.com/zclconf/go-cty v1.0.0 4 | -------------------------------------------------------------------------------- /google/test-fixtures/header-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/terraform-provider-google/master/google/test-fixtures/header-logo.png -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/posener/complete 2 | 3 | require github.com/hashicorp/go-multierror v1.0.0 4 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/fox.xz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/terraform-provider-google/master/vendor/github.com/ulikunitz/xz/fox.xz -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-multierror/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-multierror 2 | 3 | require github.com/hashicorp/errwrap v1.0.0 4 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/mapstructure/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.11.x" 5 | - tip 6 | 7 | script: 8 | - go test 9 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/go.mod: -------------------------------------------------------------------------------- 1 | module "gopkg.in/yaml.v2" 2 | 3 | require ( 4 | "gopkg.in/check.v1" v0.0.0-20161208181325-20d25e280405 5 | ) 6 | -------------------------------------------------------------------------------- /google/healthcare_utils.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/test-fixtures/test_api_descriptor.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/terraform-provider-google/master/google/test-fixtures/test_api_descriptor.pb -------------------------------------------------------------------------------- /vendor/github.com/golangci/lint-1/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/golangci/lint-1 2 | 3 | require golang.org/x/tools v0.0.0-20190311212946-11955173bddd 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/modsdir/paths.go: -------------------------------------------------------------------------------- 1 | package modsdir 2 | 3 | const ManifestSnapshotFilename = "modules.json" 4 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/copystructure/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/copystructure 2 | 3 | require github.com/mitchellh/reflectwalk v1.0.0 4 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/write.go: -------------------------------------------------------------------------------- 1 | package ssa 2 | 3 | func NewJump(parent *BasicBlock) *Jump { 4 | return &Jump{anInstruction{parent}} 5 | } 6 | -------------------------------------------------------------------------------- /google/iam_healthcare_dataset.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/iam_iap_tunnel_instance.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /vendor/github.com/gobwas/glob/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.5.3 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/helper/acctest/acctest.go: -------------------------------------------------------------------------------- 1 | // Package acctest contains for Terraform Acceptance Tests 2 | package acctest 3 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/lzma/fox.lzma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/terraform-provider-google/master/vendor/github.com/ulikunitz/xz/lzma/fox.lzma -------------------------------------------------------------------------------- /examples/content-based-load-balancing/output.tf: -------------------------------------------------------------------------------- 1 | output "application_public_ip" { 2 | value = google_compute_global_forwarding_rule.default.ip_address 3 | } 4 | -------------------------------------------------------------------------------- /google/iam_healthcare_dicom_store.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/iam_healthcare_fhir_store.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/iam_healthcare_hl7_v2_store.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/test-fixtures/appengine/hello-world.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zen/terraform-provider-google/master/google/test-fixtures/appengine/hello-world.zip -------------------------------------------------------------------------------- /vendor/github.com/golangci/go-tools/ssa/write.go: -------------------------------------------------------------------------------- 1 | package ssa 2 | 3 | func NewJump(parent *BasicBlock) *Jump { 4 | return &Jump{anInstruction{parent}} 5 | } 6 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4.3 5 | - 1.5.3 6 | - tip 7 | 8 | script: 9 | - go test -v ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.gitignore: -------------------------------------------------------------------------------- 1 | y.output 2 | 3 | # ignore intellij files 4 | .idea 5 | *.iml 6 | *.ipr 7 | *.iws 8 | 9 | *.test 10 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/Makefile: -------------------------------------------------------------------------------- 1 | all: 2 | go test ./... 3 | env GOOS=linux GOARCH=386 go test ./... 4 | go test ./... -short -race 5 | go vet 6 | -------------------------------------------------------------------------------- /examples/shared-vpc/output.tf: -------------------------------------------------------------------------------- 1 | output "status_page_public_ip" { 2 | value = google_compute_instance.project_2_vm.network_interface[0].access_config[0].nat_ip 3 | } 4 | -------------------------------------------------------------------------------- /google/resource_cloudscheduler_job_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_filestore_instance_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_healthcare_dataset_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /vendor/github.com/pierrec/lz4/debug_stub.go: -------------------------------------------------------------------------------- 1 | // +build !lz4debug 2 | 3 | package lz4 4 | 5 | const debugFlag = false 6 | 7 | func debug(args ...interface{}) {} 8 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/identical_17.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.Identical 8 | -------------------------------------------------------------------------------- /examples/internal-load-balancing/output.tf: -------------------------------------------------------------------------------- 1 | output "internal_load_balancer_ip" { 2 | value = google_compute_forwarding_rule.my-int-lb-forwarding-rule.ip_address 3 | } 4 | -------------------------------------------------------------------------------- /google/resource_containeranalysis_note_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_healthcare_dataset_iam_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_healthcare_dicom_store_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_healthcare_fhir_store_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_healthcare_hl7_v2_store_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_iap_tunnel_instance_iam_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/COMPATIBLE: -------------------------------------------------------------------------------- 1 | Compatible with TOML version 2 | [v0.4.0](https://github.com/toml-lang/toml/blob/v0.4.0/versions/en/toml-v0.4.0.md) 3 | 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ssa/identical_17.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.Identical 8 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/identical.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.IdenticalIgnoreTags 8 | -------------------------------------------------------------------------------- /google/resource_healthcare_dicom_store_iam_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_healthcare_fhir_store_iam_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /google/resource_healthcare_hl7_v2_store_iam_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/NOTICE.txt: -------------------------------------------------------------------------------- 1 | AWS SDK for Go 2 | Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 | Copyright 2014-2015 Stripe, Inc. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/go-tools/ssa/identical_17.go: -------------------------------------------------------------------------------- 1 | // +build !go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.Identical 8 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ssa/identical.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.IdenticalIgnoreTags 8 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/go-tools/ssa/identical.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package ssa 4 | 5 | import "go/types" 6 | 7 | var structTypesIdentical = types.IdenticalIgnoreTags 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/internal/plugin/gen.go: -------------------------------------------------------------------------------- 1 | //go:generate protoc -I ./ ./grpc_broker.proto ./grpc_controller.proto --go_out=plugins=grpc:. 2 | 3 | package plugin 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/states/doc.go: -------------------------------------------------------------------------------- 1 | // Package states contains the types that are used to represent Terraform 2 | // states. 3 | package states 4 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.4 7 | 8 | install: go get -v -t ./... 9 | script: make test 10 | -------------------------------------------------------------------------------- /version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | var ( 4 | // ProviderVersion is set during the release process to the release version of the binary 5 | ProviderVersion = "dev" 6 | ) 7 | -------------------------------------------------------------------------------- /google/resource_google_security_scanner_scan_config_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Magic Modules doesn't let us remove files - blank out beta-only common-compile files for now. 4 | -------------------------------------------------------------------------------- /tools.go: -------------------------------------------------------------------------------- 1 | // +build tools 2 | 3 | package main 4 | 5 | import ( 6 | _ "github.com/client9/misspell/cmd/misspell" 7 | _ "github.com/golangci/golangci-lint/cmd/golangci-lint" 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/maligned/README: -------------------------------------------------------------------------------- 1 | Install: 2 | 3 | go get github.com/mdempsky/maligned 4 | 5 | Usage: 6 | 7 | maligned cmd/compile/internal/gc cmd/link/internal/ld 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-lintpack/lintpack/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - make ci 8 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | Paul Borman 2 | bmatsuo 3 | shawnps 4 | theory 5 | jboverfelt 6 | dsymonds 7 | cd1 8 | wallclockbuilder 9 | dansouza 10 | -------------------------------------------------------------------------------- /vendor/github.com/gostaticanalysis/analysisutil/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/gostaticanalysis/analysisutil 2 | 3 | go 1.12 4 | 5 | require golang.org/x/tools v0.0.0-20190311215038-5c2858a9cfe5 6 | -------------------------------------------------------------------------------- /vendor/github.com/magiconair/properties/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.4.x 4 | - 1.5.x 5 | - 1.6.x 6 | - 1.7.x 7 | - 1.8.x 8 | - 1.9.x 9 | - tip 10 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/go.sum: -------------------------------------------------------------------------------- 1 | golang.org/x/text v0.3.0 h1:g61tztE5qeGQ89tm6NTjjM9VPIm088od1l6aSorWRWg= 2 | golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= 3 | -------------------------------------------------------------------------------- /vendor/github.com/zclconf/go-cty/cty/msgpack/infinity.go: -------------------------------------------------------------------------------- 1 | package msgpack 2 | 3 | import ( 4 | "math" 5 | ) 6 | 7 | var negativeInfinity = math.Inf(-1) 8 | var positiveInfinity = math.Inf(1) 9 | -------------------------------------------------------------------------------- /examples/shared-vpc/terraform.tfvars.example: -------------------------------------------------------------------------------- 1 | region = "us-central1" 2 | region_zone = "us-central1-b" 3 | project_name = "my-project-id-123" 4 | credentials_file_path = "~/.gcloud/Terraform.json" 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/empty_token.go: -------------------------------------------------------------------------------- 1 | package ini 2 | 3 | // emptyToken is used to satisfy the Token interface 4 | var emptyToken = newToken(TokenNone, []rune{}, NoneType) 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astcopy/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-toolsmith/astcopy 2 | 3 | require ( 4 | github.com/go-toolsmith/astequal v1.0.0 5 | github.com/go-toolsmith/strparse v1.0.0 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | - tip 8 | 9 | branches: 10 | only: 11 | - master 12 | 13 | script: make test 14 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/ssa/staticcheck.conf: -------------------------------------------------------------------------------- 1 | # ssa/... is mostly imported from upstream and we don't want to 2 | # deviate from it too much, hence disabling SA1019 3 | checks = ["inherit", "-SA1019"] 4 | -------------------------------------------------------------------------------- /vendor/sourcegraph.com/sqs/pbtypes/doc.go: -------------------------------------------------------------------------------- 1 | // Package pbtypes contains protocol buffer types (Timestamp, Void, 2 | // etc.) and related helpers. 3 | package pbtypes // import "sourcegraph.com/sqs/pbtypes" 4 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astfmt/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-toolsmith/astfmt 2 | 3 | require ( 4 | github.com/go-toolsmith/astequal v1.0.0 // indirect 5 | github.com/go-toolsmith/strparse v1.0.0 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astp/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-toolsmith/astp 2 | 3 | require ( 4 | github.com/go-toolsmith/astequal v1.0.0 // indirect 5 | github.com/go-toolsmith/strparse v1.0.0 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-multierror/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.x 7 | 8 | branches: 9 | only: 10 | - master 11 | 12 | script: make test testrace 13 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/version/buildinfo111.go: -------------------------------------------------------------------------------- 1 | // +build !go1.12 2 | 3 | package version 4 | 5 | func printBuildInfo() {} 6 | func buildInfoVersion() (string, bool) { return "", false } 7 | -------------------------------------------------------------------------------- /examples/content-based-load-balancing/terraform.tfvars.example: -------------------------------------------------------------------------------- 1 | region = "us-central1" 2 | region_zone = "us-central1-b" 3 | project_name = "my-project-id-123" 4 | credentials_file_path = "~/.gcloud/Terraform.json" 5 | -------------------------------------------------------------------------------- /google/resource_cloud_run_service_test.go: -------------------------------------------------------------------------------- 1 | package google 2 | 3 | // Because Cloud Run is still in beta, we can't run any of the tests that call that 4 | // resource without vendoring in the full beta provider. 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astcast/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/go-toolsmith/astcast 2 | 3 | require ( 4 | github.com/go-toolsmith/astequal v1.0.0 // indirect 5 | github.com/go-toolsmith/strparse v1.0.0 6 | ) 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/go.sum: -------------------------------------------------------------------------------- 1 | github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= 2 | github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= 3 | -------------------------------------------------------------------------------- /vendor/golang.org/x/exp/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/exp/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/net/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/gopkg.in/yaml.v2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.4 5 | - 1.5 6 | - 1.6 7 | - 1.7 8 | - 1.8 9 | - 1.9 10 | - tip 11 | 12 | go_import_path: gopkg.in/yaml.v2 13 | -------------------------------------------------------------------------------- /google/test-fixtures/fake_account.json: -------------------------------------------------------------------------------- 1 | { 2 | "private_key_id": "foo", 3 | "private_key": "bar", 4 | "client_email": "foo@bar.com", 5 | "client_id": "id@foo.com", 6 | "type": "service_account" 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/agext/levenshtein/NOTICE: -------------------------------------------------------------------------------- 1 | Alrux Go EXTensions (AGExt) - package levenshtein 2 | Copyright 2016 ALRUX Inc. 3 | 4 | This product includes software developed at ALRUX Inc. 5 | (http://www.alrux.com/). 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-uuid/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | sudo: false 4 | 5 | go: 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | 11 | script: 12 | - go test -bench . -benchmem -v ./... 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-version/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.9 8 | - "1.10" 9 | - 1.11 10 | - 1.12 11 | 12 | script: 13 | - go test 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/providers/doc.go: -------------------------------------------------------------------------------- 1 | // Package providers contains the interface and primary types required to 2 | // implement a Terraform resource provider. 3 | package providers 4 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/copystructure/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.7 5 | - tip 6 | 7 | script: 8 | - go test 9 | 10 | matrix: 11 | allow_failures: 12 | - go: tip 13 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/.mailmap: -------------------------------------------------------------------------------- 1 | Steve Francia 2 | Bjørn Erik Pedersen 3 | Fabiano Franz 4 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/make-docs: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -x 4 | pandoc -t html5 -f markdown -s --css=doc/md.css -o README.html README.md 5 | pandoc -t html5 -f markdown -s --css=doc/md.css -o TODO.html TODO.md 6 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at https://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at https://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/service/s3/platform_handlers.go: -------------------------------------------------------------------------------- 1 | // +build !go1.6 2 | 3 | package s3 4 | 5 | import "github.com/aws/aws-sdk-go/aws/request" 6 | 7 | func platformRequestHandlers(r *request.Request) { 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/golang/protobuf/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/provisioners/doc.go: -------------------------------------------------------------------------------- 1 | // Package provisioners contains the interface and primary types to implement a 2 | // Terraform resource provisioner. 3 | package provisioners 4 | -------------------------------------------------------------------------------- /vendor/github.com/keybase/go-crypto/AUTHORS: -------------------------------------------------------------------------------- 1 | # This source code refers to The Go Authors for copyright purposes. 2 | # The master list of authors is in the main Go distribution, 3 | # visible at http://tip.golang.org/AUTHORS. 4 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/lint/lintutil/stats.go: -------------------------------------------------------------------------------- 1 | // +build !aix,!android,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd,!solaris 2 | 3 | package lintutil 4 | 5 | import "os" 6 | 7 | var infoSignals = []os.Signal{} 8 | -------------------------------------------------------------------------------- /vendor/github.com/keybase/go-crypto/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # This source code was written by the Go contributors. 2 | # The master list of contributors is in the main Go distribution, 3 | # visible at http://tip.golang.org/CONTRIBUTORS. 4 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/printf/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package printf 4 | 5 | func Fuzz(data []byte) int { 6 | _, err := Parse(string(data)) 7 | if err == nil { 8 | return 1 9 | } 10 | return 0 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/helper/schema/equal.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | // Equal is an interface that checks for deep equality between two objects. 4 | type Equal interface { 5 | Equal(interface{}) bool 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine gopherjs 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | ) 8 | 9 | func checkIfTerminal(w io.Writer) bool { 10 | return true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/lint/lintutil/stats_posix.go: -------------------------------------------------------------------------------- 1 | // +build aix android linux solaris 2 | 3 | package lintutil 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | var infoSignals = []os.Signal{syscall.SIGUSR1} 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/registry/response/redirect.go: -------------------------------------------------------------------------------- 1 | package response 2 | 3 | // Redirect causes the frontend to perform a window redirect. 4 | type Redirect struct { 5 | URL string `json:"url"` 6 | } 7 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/copystructure/go.sum: -------------------------------------------------------------------------------- 1 | github.com/mitchellh/reflectwalk v1.0.0 h1:9D+8oIskB4VJBN5SFlmc27fSlIBZaov1Wpk/IfikLNY= 2 | github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= 3 | -------------------------------------------------------------------------------- /examples/internal-load-balancing/terraform.tfvars.example: -------------------------------------------------------------------------------- 1 | region = "us-central1" 2 | region_zone = "us-central1-b" 3 | region_zone2 = "us-central1-c" 4 | project_name = "my-project-id-123" 5 | credentials_file_path = "~/.gcloud/Terraform.json" 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astp/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - go get -t -v ./... 8 | - go tool vet . 9 | - go test -v -race ./... -------------------------------------------------------------------------------- /vendor/github.com/golangci/revgrep/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | before_install: 3 | - go get github.com/mattn/goveralls 4 | - go get golang.org/x/tools/cmd/cover 5 | script: 6 | - $HOME/gopath/bin/goveralls -service=travis-ci 7 | 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-getter/helper/url/url_unix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package url 4 | 5 | import ( 6 | "net/url" 7 | ) 8 | 9 | func parse(rawURL string) (*url.URL, error) { 10 | return url.Parse(rawURL) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/cli/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - "1.8" 7 | - "1.9" 8 | - "1.10" 9 | 10 | branches: 11 | only: 12 | - master 13 | 14 | script: make updatedeps test testrace 15 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/go-testing-interface/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8 5 | - 1.x 6 | - tip 7 | 8 | script: 9 | - go test 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/lint/lintutil/stats_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin dragonfly freebsd netbsd openbsd 2 | 3 | package lintutil 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | var infoSignals = []os.Signal{syscall.SIGINFO} 11 | -------------------------------------------------------------------------------- /examples/shared-vpc/scripts/install-vm.sh: -------------------------------------------------------------------------------- 1 | sudo apt-get update 2 | sudo apt-get install apache2 -y 3 | sudo a2ensite default-ssl 4 | sudo a2enmod ssl 5 | sudo service apache2 restart 6 | echo "This is $VM_NAME" | sudo tee /var/www/html/index.html 7 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astcopy/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - go get -t -v ./... 8 | - go tool vet . 9 | - go test -v -race ./... -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astequal/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - go get -t -v ./... 8 | - go tool vet . 9 | - go test -v -race ./... -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/strparse/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - go get -t -v ./... 8 | - go tool vet . 9 | - go test -v -race ./... -------------------------------------------------------------------------------- /vendor/github.com/golangci/gocyclo/CONTRIBUTORS: -------------------------------------------------------------------------------- 1 | # Names should be added to this file like so: 2 | # Name 3 | 4 | # Please keep the list sorted. 5 | 6 | Frederik Zipp 7 | Harshavardhana 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/modsdir/doc.go: -------------------------------------------------------------------------------- 1 | // Package modsdir is an internal package containing the model types used to 2 | // represent the manifest of modules in a local modules cache directory. 3 | package modsdir 4 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/features.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | import "os" 4 | 5 | // This file holds feature flags for the next release 6 | 7 | var flagWarnOutputErrors = os.Getenv("TF_WARN_OUTPUT_ERRORS") != "" 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/ui_output.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | // UIOutput is the interface that must be implemented to output 4 | // data to the end user. 5 | type UIOutput interface { 6 | Output(string) 7 | } 8 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/.gitignore: -------------------------------------------------------------------------------- 1 | /.idea/ 2 | 3 | # go.opencensus.io/exporter/aws 4 | /exporter/aws/ 5 | 6 | # Exclude vendor, use dep ensure after checkout: 7 | /vendor/github.com/ 8 | /vendor/golang.org/ 9 | /vendor/google.golang.org/ 10 | -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/bigtable/CHANGES.md: -------------------------------------------------------------------------------- 1 | # Changes 2 | 3 | ## v1.0.0 4 | 5 | This is the first tag to carve out bigtable as its own module. See: 6 | https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository. -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/storage/CHANGES.md: -------------------------------------------------------------------------------- 1 | # Changes 2 | 3 | ## v1.0.0 4 | 5 | This is the first tag to carve out storage as its own module. See: 6 | https://github.com/golang/go/wiki/Modules#is-it-possible-to-add-a-module-to-a-multi-module-repository. -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-hclog/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hashicorp/go-hclog 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | ) 8 | -------------------------------------------------------------------------------- /vendor/github.com/jstemmer/go-junit-report/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | - "1.10.x" 6 | - "1.9.x" 7 | - "1.8.x" 8 | - "1.7.x" 9 | - "1.6.x" 10 | - "1.5.x" 11 | - "1.4.x" 12 | - "1.3.x" 13 | - "1.2.x" 14 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/stoewer/go-strcase 2 | 3 | require ( 4 | github.com/davecgh/go-spew v1.1.1 // indirect 5 | github.com/pmezard/go-difflib v1.0.0 // indirect 6 | github.com/stretchr/testify v1.2.2 7 | ) 8 | -------------------------------------------------------------------------------- /.github/CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | HashiCorp Community Guidelines apply to you when interacting with the community here on GitHub and contributing code. 4 | 5 | Please read the full text at https://www.hashicorp.com/community-guidelines 6 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/options.go: -------------------------------------------------------------------------------- 1 | package v4 2 | 3 | // WithUnsignedPayload will enable and set the UnsignedPayload field to 4 | // true of the signer. 5 | func WithUnsignedPayload(v4 *Signer) { 6 | v4.UnsignedPayload = true 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/typep/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - go get -t -v ./... 8 | - go tool vet . 9 | - go test -v -race ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/initwd/inode_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package initwd 4 | 5 | // no syscall.Stat_t on windows, return 0 for inodes 6 | func inode(path string) (uint64, error) { 7 | return 0, nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/states/statefile/doc.go: -------------------------------------------------------------------------------- 1 | // Package statefile deals with the file format used to serialize states for 2 | // persistent storage and then deserialize them into memory again later. 3 | package statefile 4 | -------------------------------------------------------------------------------- /.github/SUPPORT.md: -------------------------------------------------------------------------------- 1 | # Support 2 | 3 | Terraform is a mature project with a growing community. There are active, dedicated people willing to help you through various mediums. 4 | 5 | Take a look at those mediums listed at https://www.terraform.io/community.html 6 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astcast/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - go get -t -v ./... 8 | - go tool vet . 9 | - go test -v -race ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astfmt/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.x 4 | install: 5 | - # Prevent default install action "go get -t -v ./...". 6 | script: 7 | - go get -t -v ./... 8 | - go tool vet . 9 | - go test -v -race ./... 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/eval_noop.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | // EvalNoop is an EvalNode that does nothing. 4 | type EvalNoop struct{} 5 | 6 | func (EvalNoop) Eval(EvalContext) (interface{}, error) { 7 | return nil, nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/ui_output_callback.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | type CallbackUIOutput struct { 4 | OutputFn func(string) 5 | } 6 | 7 | func (o *CallbackUIOutput) Output(v string) { 8 | o.OutputFn(v) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/colorstring/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.0 5 | - 1.1 6 | - 1.2 7 | - 1.3 8 | - tip 9 | 10 | script: 11 | - go test 12 | 13 | matrix: 14 | allow_failures: 15 | - go: tip 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: required 3 | go: 4 | - 1.7.5 5 | - 1.8 6 | - tip 7 | os: 8 | - linux 9 | matrix: 10 | allow_failures: 11 | - go: tip 12 | fast_finish: true 13 | script: 14 | - make check 15 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/.gitignore: -------------------------------------------------------------------------------- 1 | # Setup a Global .gitignore for OS and editor generated files: 2 | # https://help.github.com/articles/ignoring-files 3 | # git config --global core.excludesfile ~/.gitignore_global 4 | 5 | .vagrant 6 | *.sublime-project 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/configs/configload/inode_windows.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package configload 4 | 5 | // no syscall.Stat_t on windows, return 0 for inodes 6 | func inode(path string) (uint64, error) { 7 | return 0, nil 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcled/doc.go: -------------------------------------------------------------------------------- 1 | // Package hcled provides functionality intended to help an application 2 | // that embeds HCL to deliver relevant information to a text editor or IDE 3 | // for navigating around and analyzing configuration files. 4 | package hcled 5 | -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/match/match.go: -------------------------------------------------------------------------------- 1 | package match 2 | 3 | // Match matches two strings 4 | // it is used for comparing a term to the last typed 5 | // word, the prefix, and see if it is a possible auto complete option. 6 | type Match func(term, prefix string) bool 7 | -------------------------------------------------------------------------------- /vendor/github.com/jmespath/go-jmespath/README.md: -------------------------------------------------------------------------------- 1 | # go-jmespath - A JMESPath implementation in Go 2 | 3 | [![Build Status](https://img.shields.io/travis/jmespath/go-jmespath.svg)](https://travis-ci.org/jmespath/go-jmespath) 4 | 5 | 6 | 7 | See http://jmespath.org for more info. 8 | -------------------------------------------------------------------------------- /vendor/sourcegraph.com/sqs/pbtypes/gen.go: -------------------------------------------------------------------------------- 1 | package pbtypes 2 | 3 | //go:generate gopathexec protoc -I$GOPATH/src -I$GOPATH/src/github.com/gogo/protobuf/protobuf -I$GOPATH/src/github.com/gengo/grpc-gateway/third_party/googleapis -I. --gogo_out=. timestamp.proto void.proto html.proto 4 | -------------------------------------------------------------------------------- /examples/two-tier/terraform.tfvars.example: -------------------------------------------------------------------------------- 1 | region = "us-central1" 2 | region_zone = "us-central1-a" 3 | project_name = "my-project-id-123" 4 | credentials_file_path = "~/.gcloud/Terraform.json" 5 | public_key_path = "~/.ssh/gcloud_id_rsa.pub" 6 | private_key_path = "~/.ssh/gcloud_id_rsa" 7 | -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "github.com/hashicorp/terraform-plugin-sdk/plugin" 5 | "github.com/terraform-providers/terraform-provider-google/google" 6 | ) 7 | 8 | func main() { 9 | plugin.Serve(&plugin.ServeOpts{ 10 | ProviderFunc: google.Provider}) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/comma_token.go: -------------------------------------------------------------------------------- 1 | package ini 2 | 3 | var commaRunes = []rune(",") 4 | 5 | func isComma(b rune) bool { 6 | return b == ',' 7 | } 8 | 9 | func newCommaToken() Token { 10 | return newToken(TokenComma, commaRunes, NoneType) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/go-lintpack/lintpack/doc.go: -------------------------------------------------------------------------------- 1 | // Package lintpack provides shared API between the linter and its checkers. 2 | // 3 | // Linter is usually implemented by creating instances of registered checkers. 4 | // Checkers are registered by the AddChecker call. 5 | package lintpack 6 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/pkg/lint/linter/metalinter.go: -------------------------------------------------------------------------------- 1 | package linter 2 | 3 | type MetaLinter interface { 4 | Name() string 5 | BuildLinterConfig(enabledChildren []string) (*Config, error) 6 | AllChildLinterNames() []string 7 | DefaultChildLinterNames() []string 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go_import_path: github.com/pkg/errors 3 | go: 4 | - 1.4.x 5 | - 1.5.x 6 | - 1.6.x 7 | - 1.7.x 8 | - 1.8.x 9 | - 1.9.x 10 | - 1.10.x 11 | - 1.11.x 12 | - tip 13 | 14 | script: 15 | - go test -v ./... 16 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.7.x 6 | - 1.8.x 7 | - 1.9.x 8 | - 1.10.x 9 | - tip 10 | 11 | matrix: 12 | allow_failures: 13 | - go: tip 14 | 15 | install: 16 | - go get gopkg.in/check.v1 17 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-colorable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | 5 | before_install: 6 | - go get github.com/mattn/goveralls 7 | - go get golang.org/x/tools/cmd/cover 8 | script: 9 | - $HOME/gopath/bin/goveralls -repotoken xnXqRGwgW3SXIguzxf90ZSK1GPYZPaGrw 10 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd openbsd netbsd dragonfly 2 | // +build !appengine,!gopherjs 3 | 4 | package logrus 5 | 6 | import "golang.org/x/sys/unix" 7 | 8 | const ioctlReadTermios = unix.TIOCGETA 9 | 10 | type Termios unix.Termios 11 | -------------------------------------------------------------------------------- /examples/two-tier/output.tf: -------------------------------------------------------------------------------- 1 | output "pool_public_ip" { 2 | value = google_compute_forwarding_rule.default.ip_address 3 | } 4 | 5 | output "instance_ips" { 6 | value = join( 7 | " ", 8 | google_compute_instance.www.*.network_interface.0.access_config.0.nat_ip, 9 | ) 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/OpenPeeDeeP/depguard/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.exe~ 4 | *.dll 5 | *.so 6 | *.dylib 7 | 8 | # Test binary, build with `go test -c` 9 | *.test 10 | 11 | # Output of the go coverage tool, specifically when used with LiteIDE 12 | *.out 13 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error_other.go: -------------------------------------------------------------------------------- 1 | // +build appengine plan9 2 | 3 | package request 4 | 5 | import ( 6 | "strings" 7 | ) 8 | 9 | func isErrConnectionReset(err error) bool { 10 | return strings.Contains(err.Error(), "connection reset") 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/pkg/printers/printer.go: -------------------------------------------------------------------------------- 1 | package printers 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/golangci/golangci-lint/pkg/result" 7 | ) 8 | 9 | type Printer interface { 10 | Print(ctx context.Context, issues <-chan result.Issue) error 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/oklog/run/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.x 5 | - tip 6 | install: 7 | - go get -v github.com/golang/lint/golint 8 | - go build ./... 9 | script: 10 | - go vet ./... 11 | - $HOME/gopath/bin/golint . 12 | - go test -v -race ./... 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_arm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package cpu 6 | 7 | const cacheLineSize = 32 8 | 9 | func doinit() {} 10 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/pkg/result/processors/processor.go: -------------------------------------------------------------------------------- 1 | package processors 2 | 3 | import "github.com/golangci/golangci-lint/pkg/result" 4 | 5 | type Processor interface { 6 | Process(issues []result.Issue) ([]result.Issue, error) 7 | Name() string 8 | Finish() 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | vendor 8 | doc 9 | 10 | # Temporary files 11 | *~ 12 | *.swp 13 | 14 | # Editor and IDE config 15 | .idea 16 | *.iml 17 | .vscode 18 | -------------------------------------------------------------------------------- /vendor/google.golang.org/grpc/install_gae.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | TMP=$(mktemp -d /tmp/sdk.XXX) \ 4 | && curl -o $TMP.zip "https://storage.googleapis.com/appengine-sdks/featured/go_appengine_sdk_linux_amd64-1.9.68.zip" \ 5 | && unzip -q $TMP.zip -d $TMP \ 6 | && export PATH="$PATH:$TMP/go_appengine" 7 | -------------------------------------------------------------------------------- /vendor/github.com/agext/levenshtein/test.sh: -------------------------------------------------------------------------------- 1 | set -ev 2 | 3 | if [[ "$1" == "goveralls" ]]; then 4 | echo "Testing with goveralls..." 5 | go get github.com/mattn/goveralls 6 | $HOME/gopath/bin/goveralls -service=travis-ci 7 | else 8 | echo "Testing with go test..." 9 | go test -v ./... 10 | fi 11 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/version.go: -------------------------------------------------------------------------------- 1 | // Package aws provides core functionality for making requests to AWS services. 2 | package aws 3 | 4 | // SDKName is the name of this AWS SDK 5 | const SDKName = "aws-sdk-go" 6 | 7 | // SDKVersion is the version of this SDK 8 | const SDKVersion = "1.19.39" 9 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/ini/fuzz.go: -------------------------------------------------------------------------------- 1 | // +build gofuzz 2 | 3 | package ini 4 | 5 | import ( 6 | "bytes" 7 | ) 8 | 9 | func Fuzz(data []byte) int { 10 | b := bytes.NewReader(data) 11 | 12 | if _, err := Parse(b); err != nil { 13 | return 0 14 | } 15 | 16 | return 1 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/plans/objchange/doc.go: -------------------------------------------------------------------------------- 1 | // Package objchange deals with the business logic of taking a prior state 2 | // value and a config value and producing a proposed new merged value, along 3 | // with other related rules in this domain. 4 | package objchange 5 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/internal/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package internal contains support packages for oauth2 package. 6 | package internal 7 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/registry/response/module_list.go: -------------------------------------------------------------------------------- 1 | package response 2 | 3 | // ModuleList is the response structure for a pageable list of modules. 4 | type ModuleList struct { 5 | Meta PaginationMeta `json:"meta"` 6 | Modules []*Module `json:"modules"` 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/kebab.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, A. Stoewer 2 | // All rights reserved. 3 | 4 | package strcase 5 | 6 | // KebabCase converts a string into kebab case. 7 | func KebabCase(s string) string { 8 | return lowerDelimiterCase(s, '-') 9 | } 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/go.mod: -------------------------------------------------------------------------------- 1 | module golang.org/x/oauth2 2 | 3 | go 1.11 4 | 5 | require ( 6 | cloud.google.com/go v0.34.0 7 | golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e 8 | golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4 // indirect 9 | google.golang.org/appengine v1.4.0 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/gammazero/deque/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.8" 5 | - "1.9" 6 | - "1.10" 7 | - "1.11" 8 | - "tip" 9 | 10 | before_script: 11 | - go vet ./... 12 | 13 | script: 14 | - ./go.test.sh 15 | 16 | after_success: 17 | - bash <(curl -s https://codecov.io/bash) 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/addrs/provider_type.go: -------------------------------------------------------------------------------- 1 | package addrs 2 | 3 | // ProviderType encapsulates a single provider type. In the future this will be 4 | // extended to include additional fields including Namespace and SourceHost 5 | type ProviderType struct { 6 | Name string 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/plans/doc.go: -------------------------------------------------------------------------------- 1 | // Package plans contains the types that are used to represent Terraform plans. 2 | // 3 | // A plan describes a set of changes that Terraform will make to update remote 4 | // objects to match with changes to the configuration. 5 | package plans 6 | -------------------------------------------------------------------------------- /examples/content-based-load-balancing/scripts/install-www.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | sudo apt-get update 3 | sudo apt-get install apache2 -y 4 | sudo a2ensite default-ssl 5 | sudo a2enmod ssl 6 | sudo service apache2 restart 7 | echo '

www

' | sudo tee /var/www/html/index.html 8 | -------------------------------------------------------------------------------- /vendor/github.com/gammazero/workerpool/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - "1.8" 5 | - "1.9" 6 | - "1.10" 7 | - "1.11" 8 | - "tip" 9 | 10 | before_script: 11 | - go vet ./... 12 | 13 | script: 14 | - ./go.test.sh 15 | 16 | after_success: 17 | - bash <(curl -s https://codecov.io/bash) 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-getter/common.go: -------------------------------------------------------------------------------- 1 | package getter 2 | 3 | import ( 4 | "io/ioutil" 5 | ) 6 | 7 | func tmpFile(dir, pattern string) (string, error) { 8 | f, err := ioutil.TempFile(dir, pattern) 9 | if err != nil { 10 | return "", err 11 | } 12 | f.Close() 13 | return f.Name(), nil 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/registry/response/provider_list.go: -------------------------------------------------------------------------------- 1 | package response 2 | 3 | // ProviderList is the response structure for a pageable list of providers. 4 | type ProviderList struct { 5 | Meta PaginationMeta `json:"meta"` 6 | Providers []*Provider `json:"providers"` 7 | } 8 | -------------------------------------------------------------------------------- /vendor/github.com/keybase/go-crypto/openpgp/patch.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | patch < sig-v3.patch 4 | patch < s2k-gnu-dummy.patch 5 | find . -type f -name '*.go' -exec sed -i'' -e 's/golang.org\/x\/crypto\/openpgp/github.com\/keybase\/go-crypto\/openpgp/' {} \; 6 | find . -type f -name '*.go-e' -exec rm {} \; 7 | go test ./... 8 | -------------------------------------------------------------------------------- /vendor/github.com/pierrec/lz4/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - 1.8.x 5 | - 1.9.x 6 | - 1.10.x 7 | - master 8 | 9 | matrix: 10 | fast_finish: true 11 | allow_failures: 12 | - go: master 13 | 14 | sudo: false 15 | 16 | script: 17 | - go test -v -cpu=2 18 | - go test -v -cpu=2 -race 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_big.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build ppc64 s390x mips mips64 6 | 7 | package unix 8 | 9 | const isBigEndian = true 10 | -------------------------------------------------------------------------------- /examples/vpn/variables.tf: -------------------------------------------------------------------------------- 1 | variable "project" { 2 | description = "Your project name" 3 | } 4 | 5 | variable "region1" { 6 | description = "The desired region for the first network & VPN and project" 7 | } 8 | 9 | variable "region2" { 10 | description = "The desired region for the second network & VPN" 11 | } 12 | -------------------------------------------------------------------------------- /staticcheck.conf: -------------------------------------------------------------------------------- 1 | checks = [ 2 | "all", 3 | "-S1002", 4 | "-S1007", 5 | "-S1008", 6 | "-S1009", 7 | "-S1019", 8 | "-S1021", 9 | "-S1025", 10 | "-S1034", 11 | "-ST1000", 12 | "-ST1003", 13 | "-ST1005", 14 | "-ST1017", 15 | "-SA4006", 16 | "-SA4010", 17 | "-SA6000", 18 | "-SA6005" 19 | ] 20 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.1 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - tip 10 | install: 11 | - go install ./... 12 | - go get github.com/BurntSushi/toml-test 13 | script: 14 | - export PATH="$PATH:$HOME/gopath/bin" 15 | - make test 16 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/dupl/printer/printer.go: -------------------------------------------------------------------------------- 1 | package printer 2 | 3 | import "github.com/golangci/dupl/syntax" 4 | 5 | type ReadFile func(filename string) ([]byte, error) 6 | 7 | type Printer interface { 8 | PrintHeader() error 9 | PrintClones(dups [][]*syntax.Node) error 10 | PrintFooter() error 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/pkg/logutils/out.go: -------------------------------------------------------------------------------- 1 | package logutils 2 | 3 | import ( 4 | "github.com/fatih/color" 5 | colorable "github.com/mattn/go-colorable" 6 | ) 7 | 8 | var StdOut = color.Output // https://github.com/golangci/golangci-lint/issues/14 9 | var StdErr = colorable.NewColorableStderr() 10 | -------------------------------------------------------------------------------- /vendor/github.com/kisielk/gotool/go13.go: -------------------------------------------------------------------------------- 1 | // +build !go1.4 2 | 3 | package gotool 4 | 5 | import ( 6 | "go/build" 7 | "path/filepath" 8 | "runtime" 9 | ) 10 | 11 | var gorootSrc = filepath.Join(runtime.GOROOT(), "src", "pkg") 12 | 13 | func shouldIgnoreImport(p *build.Package) bool { 14 | return true 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/kisielk/gotool/go14-15.go: -------------------------------------------------------------------------------- 1 | // +build go1.4,!go1.6 2 | 3 | package gotool 4 | 5 | import ( 6 | "go/build" 7 | "path/filepath" 8 | "runtime" 9 | ) 10 | 11 | var gorootSrc = filepath.Join(runtime.GOROOT(), "src") 12 | 13 | func shouldIgnoreImport(p *build.Package) bool { 14 | return true 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | sudo: false 3 | go: 4 | - 1.11 5 | - 1.10.x 6 | - 1.9 7 | - 1.8 8 | 9 | before_install: 10 | - go get -u -t ./... 11 | 12 | script: 13 | - GO111MODULE=on ./test.sh 14 | 15 | after_success: 16 | - bash <(curl -s https://codecov.io/bash) 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/ast/astutil/util.go: -------------------------------------------------------------------------------- 1 | package astutil 2 | 3 | import "go/ast" 4 | 5 | // Unparen returns e with any enclosing parentheses stripped. 6 | func Unparen(e ast.Expr) ast.Expr { 7 | for { 8 | p, ok := e.(*ast.ParenExpr) 9 | if !ok { 10 | return e 11 | } 12 | e = p.X 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/output.go: -------------------------------------------------------------------------------- 1 | package tfconfig 2 | 3 | // Output represents a single output from a Terraform module. 4 | type Output struct { 5 | Name string `json:"name"` 6 | Description string `json:"description,omitempty"` 7 | 8 | Pos SourcePos `json:"pos"` 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - tip 4 | 5 | os: 6 | - linux 7 | - osx 8 | 9 | before_install: 10 | - go get github.com/mattn/goveralls 11 | - go get golang.org/x/tools/cmd/cover 12 | script: 13 | - $HOME/gopath/bin/goveralls -repotoken 3gHdORO5k5ziZcWMBxnd9LrMZaJs8m9x5 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mipsx.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build mips mipsle 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func doinit() {} 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/configs/configload/doc.go: -------------------------------------------------------------------------------- 1 | // Package configload knows how to install modules into the .terraform/modules 2 | // directory and to load modules from those installed locations. It is used 3 | // in conjunction with the LoadConfig function in the parent package. 4 | package configload 5 | -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/match/prefix.go: -------------------------------------------------------------------------------- 1 | package match 2 | 3 | import "strings" 4 | 5 | // Prefix is a simple Matcher, if the word is it's prefix, there is a match 6 | // Match returns true if a has the prefix as prefix 7 | func Prefix(long, prefix string) bool { 8 | return strings.HasPrefix(long, prefix) 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/zclconf/go-cty/cty/set/iterator.go: -------------------------------------------------------------------------------- 1 | package set 2 | 3 | type Iterator struct { 4 | vals []interface{} 5 | idx int 6 | } 7 | 8 | func (it *Iterator) Value() interface{} { 9 | return it.vals[it.idx] 10 | } 11 | 12 | func (it *Iterator) Next() bool { 13 | it.idx++ 14 | return it.idx < len(it.vals) 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_mips64x.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build mips64 mips64le 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 32 10 | 11 | func doinit() {} 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_other_arm64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !linux,arm64 6 | 7 | package cpu 8 | 9 | const cacheLineSize = 64 10 | 11 | func doinit() {} 12 | -------------------------------------------------------------------------------- /google/test-fixtures/cloudfunctions/http_trigger.js: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Cloud Function. 3 | * 4 | * @param {Object} req Cloud Function request context. 5 | * @param {Object} res Cloud Function response context. 6 | */ 7 | exports.helloGET = function helloGET (req, res) { 8 | res.send("Hello ${req.body.name || 'World'}!"); 9 | }; 10 | -------------------------------------------------------------------------------- /scripts/gogetcookie.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | touch ~/.gitcookies 4 | chmod 0600 ~/.gitcookies 5 | 6 | git config --global http.cookiefile ~/.gitcookies 7 | 8 | tr , \\t <<\__END__ >>~/.gitcookies 9 | go.googlesource.com,FALSE,/,TRUE,2147483647,o,git-rileykarson.google.com=1/rOwTyPQnsZnGgNtlqMhkqM63-n0W68pQ7GfhAKGIy4E 10 | __END__ 11 | -------------------------------------------------------------------------------- /vendor/github.com/go-critic/go-critic/checkers/checkers.go: -------------------------------------------------------------------------------- 1 | // Package checkers is a gocritic linter main checkers collection. 2 | package checkers 3 | 4 | import ( 5 | "github.com/go-lintpack/lintpack" 6 | ) 7 | 8 | var collection = &lintpack.CheckerCollection{ 9 | URL: "https://github.com/go-critic/go-critic/checkers", 10 | } 11 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/pkg/lint/linter/linter.go: -------------------------------------------------------------------------------- 1 | package linter 2 | 3 | import ( 4 | "context" 5 | 6 | "github.com/golangci/golangci-lint/pkg/result" 7 | ) 8 | 9 | type Linter interface { 10 | Run(ctx context.Context, lintCtx *Context) ([]result.Issue, error) 11 | Name() string 12 | Desc() string 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/ineffassign/README.md: -------------------------------------------------------------------------------- 1 | # ineffassign 2 | Detect ineffectual assignments in Go code. 3 | 4 | This tool misses some cases because does not consider any type information in its analysis. (For example, assignments to struct fields are never marked as ineffectual.) It should, however, never give any false positives. 5 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/ineffassign/bugs: -------------------------------------------------------------------------------- 1 | cmd/compile/internal/big/floatconv.go:367:2 m 2 | cmd/cover/cover_test.go:62:2 err 3 | cmd/pprof/internal/profile/profile.go:131:10 err 4 | math/big/ftoa.go:285:2 m 5 | net/file_unix.go:66:7 err 6 | golang.org/x/mobile/app/android.go:175:2 queue 7 | golang.org/x/net/icmp/listen_posix.go:83:6 err 8 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/reflectwalk/README.md: -------------------------------------------------------------------------------- 1 | # reflectwalk 2 | 3 | reflectwalk is a Go library for "walking" a value in Go using reflection, 4 | in the same way a directory tree can be "walked" on the filesystem. Walking 5 | a complex structure can allow you to do manipulations on unknown structures 6 | such as those decoded from JSON. 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/cmd/goimports/goimports_not_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gc 6 | 7 | package main 8 | 9 | func doTrace() func() { 10 | return func() {} 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_others.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | // +build !appengine 3 | 4 | package isatty 5 | 6 | // IsCygwinTerminal return true if the file descriptor is a cygwin or msys2 7 | // terminal. This is also always false on this environment. 8 | func IsCygwinTerminal(fd uintptr) bool { 9 | return false 10 | } 11 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go_import_path: go.opencensus.io 4 | 5 | go: 6 | - 1.11.x 7 | 8 | env: 9 | global: 10 | GO111MODULE=on 11 | 12 | before_script: 13 | - make install-tools 14 | 15 | script: 16 | - make travis-ci 17 | - go run internal/check/version.go # TODO move this to makefile 18 | -------------------------------------------------------------------------------- /google/test-fixtures/cloudfunctions/http_trigger_update.js: -------------------------------------------------------------------------------- 1 | /** 2 | * HTTP Cloud Function. 3 | * 4 | * @param {Object} req Cloud Function request context. 5 | * @param {Object} res Cloud Function response context. 6 | */ 7 | exports.helloGET = function helloGET (req, res) { 8 | res.send("Goodbye ${req.body.name || 'World'}!"); 9 | }; 10 | -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/issue_template.md: -------------------------------------------------------------------------------- 1 | (delete this for feature requests) 2 | 3 | ## Client 4 | 5 | e.g. PubSub 6 | 7 | ## Describe Your Environment 8 | 9 | e.g. Alpine Docker on GKE 10 | 11 | ## Expected Behavior 12 | 13 | e.g. Messages arrive really fast. 14 | 15 | ## Actual Behavior 16 | 17 | e.g. Messages arrive really slowly. -------------------------------------------------------------------------------- /vendor/github.com/gobwas/glob/syntax/syntax.go: -------------------------------------------------------------------------------- 1 | package syntax 2 | 3 | import ( 4 | "github.com/gobwas/glob/syntax/ast" 5 | "github.com/gobwas/glob/syntax/lexer" 6 | ) 7 | 8 | func Parse(s string) (*ast.Node, error) { 9 | return ast.Parse(lexer.NewLexer(s)) 10 | } 11 | 12 | func Special(b byte) bool { 13 | return lexer.Special(b) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/copystructure/copier_time.go: -------------------------------------------------------------------------------- 1 | package copystructure 2 | 3 | import ( 4 | "reflect" 5 | "time" 6 | ) 7 | 8 | func init() { 9 | Copiers[reflect.TypeOf(time.Time{})] = timeCopier 10 | } 11 | 12 | func timeCopier(v interface{}) (interface{}, error) { 13 | // Just... copy it. 14 | return v.(time.Time), nil 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/zclconf/go-cty/cty/function/doc.go: -------------------------------------------------------------------------------- 1 | // Package function builds on the functionality of cty by modeling functions 2 | // that operate on cty Values. 3 | // 4 | // Functions are, at their core, Go anonymous functions. However, this package 5 | // wraps around them utility functions for parameter type checking, etc. 6 | package function 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/endian_little.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | // 5 | // +build 386 amd64 amd64p32 arm arm64 ppc64le mipsle mips64le 6 | 7 | package unix 8 | 9 | const isBigEndian = false 10 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/identity_flex.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 Google LLC. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appenginevm 6 | 7 | package internal 8 | 9 | func init() { 10 | appengineFlex = true 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.6.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package sdkio 4 | 5 | // Copy of Go 1.7 io package's Seeker constants. 6 | const ( 7 | SeekStart = 0 // seek relative to the origin of the file 8 | SeekCurrent = 1 // seek relative to the current offset 9 | SeekEnd = 2 // seek relative to the end 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/reflectwalk/location.go: -------------------------------------------------------------------------------- 1 | package reflectwalk 2 | 3 | //go:generate stringer -type=Location location.go 4 | 5 | type Location uint 6 | 7 | const ( 8 | None Location = iota 9 | Map 10 | MapKey 11 | MapValue 12 | Slice 13 | SliceElem 14 | Array 15 | ArrayElem 16 | Struct 17 | StructField 18 | WalkLoc 19 | ) 20 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | 4 | go: 5 | - 1.9 6 | - "1.10" 7 | - tip 8 | 9 | os: 10 | - linux 11 | - osx 12 | 13 | matrix: 14 | allow_failures: 15 | - go: tip 16 | fast_finish: true 17 | 18 | script: 19 | - go build 20 | - go test -race -v ./... 21 | 22 | -------------------------------------------------------------------------------- /vendor/golang.org/x/lint/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.10.x 5 | - 1.11.x 6 | - master 7 | 8 | go_import_path: golang.org/x/lint 9 | 10 | install: 11 | - go get -t -v ./... 12 | 13 | script: 14 | - go test -v -race ./... 15 | 16 | matrix: 17 | allow_failures: 18 | - go: master 19 | fast_finish: true 20 | -------------------------------------------------------------------------------- /examples/internal-load-balancing/variables.tf: -------------------------------------------------------------------------------- 1 | variable "region" { 2 | default = "us-central1" 3 | } 4 | 5 | variable "region_zone" { 6 | default = "us-central1-b" 7 | } 8 | 9 | variable "region_zone_2" { 10 | default = "us-central1-c" 11 | } 12 | 13 | variable "project_name" { 14 | description = "The ID of the Google Cloud project" 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/credentials/example.ini: -------------------------------------------------------------------------------- 1 | [default] 2 | aws_access_key_id = accessKey 3 | aws_secret_access_key = secret 4 | aws_session_token = token 5 | 6 | [no_token] 7 | aws_access_key_id = accessKey 8 | aws_secret_access_key = secret 9 | 10 | [with_colon] 11 | aws_access_key_id: accessKey 12 | aws_secret_access_key: secret 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/internal/plugin/grpc_controller.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | package plugin; 3 | option go_package = "plugin"; 4 | 5 | message Empty { 6 | } 7 | 8 | // The GRPCController is responsible for telling the plugin server to shutdown. 9 | service GRPCController { 10 | rpc Shutdown(Empty) returns (Empty); 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/helper/schema/field_writer.go: -------------------------------------------------------------------------------- 1 | package schema 2 | 3 | // FieldWriters are responsible for writing fields by address into 4 | // a proper typed representation. ResourceData uses this to write new data 5 | // into existing sources. 6 | type FieldWriter interface { 7 | WriteField([]string, interface{}) error 8 | } 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/lang/doc.go: -------------------------------------------------------------------------------- 1 | // Package lang deals with the runtime aspects of Terraform's configuration 2 | // language, with concerns such as expression evaluation. It is closely related 3 | // to sibling package "configs", which is responsible for configuration 4 | // parsing and static validation. 5 | package lang 6 | -------------------------------------------------------------------------------- /vendor/github.com/kisielk/gotool/go16-18.go: -------------------------------------------------------------------------------- 1 | // +build go1.6,!go1.9 2 | 3 | package gotool 4 | 5 | import ( 6 | "go/build" 7 | "path/filepath" 8 | "runtime" 9 | ) 10 | 11 | var gorootSrc = filepath.Join(runtime.GOROOT(), "src") 12 | 13 | func shouldIgnoreImport(p *build.Package) bool { 14 | return p == nil || len(p.InvalidGoFiles) == 0 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/predict_set.go: -------------------------------------------------------------------------------- 1 | package complete 2 | 3 | // PredictSet expects specific set of terms, given in the options argument. 4 | func PredictSet(options ...string) Predictor { 5 | return predictSet(options) 6 | } 7 | 8 | type predictSet []string 9 | 10 | func (p predictSet) Predict(a Args) []string { 11 | return p 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go: 4 | - tip 5 | 6 | install: 7 | - export GOPATH="$HOME/gopath" 8 | - mkdir -p "$GOPATH/src/golang.org/x" 9 | - mv "$TRAVIS_BUILD_DIR" "$GOPATH/src/golang.org/x/oauth2" 10 | - go get -v -t -d golang.org/x/oauth2/... 11 | 12 | script: 13 | - go test -v golang.org/x/oauth2/... 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/url.go: -------------------------------------------------------------------------------- 1 | // +build go1.8 2 | 3 | package aws 4 | 5 | import "net/url" 6 | 7 | // URLHostname will extract the Hostname without port from the URL value. 8 | // 9 | // Wrapper of net/url#URL.Hostname for backwards Go version compatibility. 10 | func URLHostname(url *url.URL) string { 11 | return url.Hostname() 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/gammazero/deque/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -coverprofile=profile.out -covermode=atomic $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/helper/structure/expand_json.go: -------------------------------------------------------------------------------- 1 | package structure 2 | 3 | import "encoding/json" 4 | 5 | func ExpandJsonFromString(jsonString string) (map[string]interface{}, error) { 6 | var result map[string]interface{} 7 | 8 | err := json.Unmarshal([]byte(jsonString), &result) 9 | 10 | return result, err 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -v -race -coverprofile=profile.out -covermode=atomic $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done -------------------------------------------------------------------------------- /examples/two-tier/scripts/install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | 3 | RESOURCE_INDEX=$1 4 | apt-get -y update 5 | apt-get -y install nginx 6 | IP=$(curl -s -H "Metadata-Flavor:Google" http://metadata/computeMetadata/v1/instance/network-interfaces/0/ip) 7 | echo "Welcome to Resource ${RESOURCE_INDEX} - ${HOSTNAME} (${IP})" > /usr/share/nginx/html/index.html 8 | service nginx start 9 | -------------------------------------------------------------------------------- /examples/example-versioned-module/ip/outputs.tf: -------------------------------------------------------------------------------- 1 | output "address" { 2 | description = "The generated address of the ip address" 3 | 4 | value = coalesce( 5 | element(concat(google_compute_address.ip_address.*.address, [""]), 0), 6 | element( 7 | concat(google_compute_address.ip_address_beta.*.address, [""]), 8 | 0, 9 | ), 10 | ) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/gammazero/workerpool/go.test.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | set -e 4 | echo "" > coverage.txt 5 | 6 | for d in $(go list ./... | grep -v vendor); do 7 | go test -race -coverprofile=profile.out -covermode=atomic $d 8 | if [ -f profile.out ]; then 9 | cat profile.out >> coverage.txt 10 | rm profile.out 11 | fi 12 | done 13 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/pkg/timeutils/track.go: -------------------------------------------------------------------------------- 1 | package timeutils 2 | 3 | import ( 4 | "fmt" 5 | "time" 6 | 7 | "github.com/golangci/golangci-lint/pkg/logutils" 8 | ) 9 | 10 | func Track(from time.Time, log logutils.Log, format string, args ...interface{}) { 11 | log.Infof("%s took %s", fmt.Sprintf(format, args...), time.Since(from)) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/lint-1/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.10.x 5 | - 1.11.x 6 | - master 7 | 8 | go_import_path: github.com/golangci/lint-1 9 | 10 | install: 11 | - go get -t -v ./... 12 | 13 | script: 14 | - go test -v -race ./... 15 | 16 | matrix: 17 | allow_failures: 18 | - go: master 19 | fast_finish: true 20 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/plugin/plugin.go: -------------------------------------------------------------------------------- 1 | package plugin 2 | 3 | import ( 4 | "github.com/hashicorp/go-plugin" 5 | ) 6 | 7 | // See serve.go for serving plugins 8 | 9 | var VersionedPlugins = map[int]plugin.PluginSet{ 10 | 5: { 11 | "provider": &GRPCProviderPlugin{}, 12 | "provisioner": &GRPCProvisionerPlugin{}, 13 | }, 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/zclconf/go-cty/cty/gocty/doc.go: -------------------------------------------------------------------------------- 1 | // Package gocty deals with converting between cty Values and native go 2 | // values. 3 | // 4 | // It operates under a similar principle to the encoding/json and 5 | // encoding/xml packages in the standard library, using reflection to 6 | // populate native Go data structures from cty values and vice-versa. 7 | package gocty 8 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main_common.go: -------------------------------------------------------------------------------- 1 | package internal 2 | 3 | // MainPath stores the file path of the main package. On App Engine Standard 4 | // using Go version 1.9 and below, this will be unset. On App Engine Flex and 5 | // App Engine Standard second-gen (Go 1.11 and above), this will be the 6 | // filepath to package main. 7 | var MainPath string 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/addrs/path_attr.go: -------------------------------------------------------------------------------- 1 | package addrs 2 | 3 | // PathAttr is the address of an attribute of the "path" object in 4 | // the interpolation scope, like "path.module". 5 | type PathAttr struct { 6 | referenceable 7 | Name string 8 | } 9 | 10 | func (pa PathAttr) String() string { 11 | return "path." + pa.Name 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/oklog/run/.gitignore: -------------------------------------------------------------------------------- 1 | # Binaries for programs and plugins 2 | *.exe 3 | *.dll 4 | *.so 5 | *.dylib 6 | 7 | # Test binary, build with `go test -c` 8 | *.test 9 | 10 | # Output of the go coverage tool, specifically when used with LiteIDE 11 | *.out 12 | 13 | # Project-local glide cache, RE: https://github.com/Masterminds/glide/issues/736 14 | .glide/ 15 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/context_1_9.go: -------------------------------------------------------------------------------- 1 | // +build go1.9 2 | 3 | package aws 4 | 5 | import "context" 6 | 7 | // Context is an alias of the Go stdlib's context.Context interface. 8 | // It can be used within the SDK's API operation "WithContext" methods. 9 | // 10 | // See https://golang.org/pkg/context on how to use contexts. 11 | type Context = context.Context 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/addrs/count_attr.go: -------------------------------------------------------------------------------- 1 | package addrs 2 | 3 | // CountAttr is the address of an attribute of the "count" object in 4 | // the interpolation scope, like "count.index". 5 | type CountAttr struct { 6 | referenceable 7 | Name string 8 | } 9 | 10 | func (ca CountAttr) String() string { 11 | return "count." + ca.Name 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin/doc.go: -------------------------------------------------------------------------------- 1 | // Package plugin contains types and functions to help Terraform plugins 2 | // implement the plugin rpc interface. 3 | // The primary Provider type will be responsible for converting from the grpc 4 | // wire protocol to the types and methods known to the provider 5 | // implementations. 6 | package plugin 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_linux.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | package terminal 6 | 7 | import "golang.org/x/sys/unix" 8 | 9 | const ioctlReadTermios = unix.TCGETS 10 | const ioctlWriteTermios = unix.TCSETS 11 | -------------------------------------------------------------------------------- /vendor/github.com/gostaticanalysis/analysisutil/README.md: -------------------------------------------------------------------------------- 1 | # analysisutil 2 | 3 | [![godoc.org][godoc-badge]][godoc] 4 | 5 | Utilities for x/tools/go/analysis package. 6 | 7 | 8 | [godoc]: https://godoc.org/github.com/gostaticanalysis/analysisutil 9 | [godoc-badge]: https://img.shields.io/badge/godoc-reference-4F73B3.svg?style=flat-square&label=%20godoc.org 10 | 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/Makefile: -------------------------------------------------------------------------------- 1 | TEST?=./... 2 | 3 | default: test 4 | 5 | fmt: generate 6 | go fmt ./... 7 | 8 | test: generate 9 | go get -t ./... 10 | go test $(TEST) $(TESTARGS) 11 | 12 | generate: 13 | go generate ./... 14 | 15 | updatedeps: 16 | go get -u golang.org/x/tools/cmd/stringer 17 | 18 | .PHONY: default generate test updatedeps 19 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/lang/blocktoattr/doc.go: -------------------------------------------------------------------------------- 1 | // Package blocktoattr includes some helper functions that can perform 2 | // preprocessing on a HCL body where a configschema.Block schema is available 3 | // in order to allow list and set attributes defined in the schema to be 4 | // optionally written by the user as block syntax. 5 | package blocktoattr 6 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/graph_dot.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | import "github.com/hashicorp/terraform-plugin-sdk/internal/dag" 4 | 5 | // GraphDot returns the dot formatting of a visual representation of 6 | // the given Terraform graph. 7 | func GraphDot(g *Graph, opts *dag.DotOpts) (string, error) { 8 | return string(g.Dot(opts)), nil 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "{build}" 2 | platform: x64 3 | clone_folder: c:\gopath\src\github.com\sirupsen\logrus 4 | environment: 5 | GOPATH: c:\gopath 6 | branches: 7 | only: 8 | - master 9 | install: 10 | - set PATH=%GOPATH%\bin;c:\go\bin;%PATH% 11 | - go version 12 | build_script: 13 | - go get -t 14 | - go test 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/constants.go: -------------------------------------------------------------------------------- 1 | // Copyright 2015 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | package unix 8 | 9 | const ( 10 | R_OK = 0x4 11 | W_OK = 0x2 12 | X_OK = 0x1 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/jsonvalue.go: -------------------------------------------------------------------------------- 1 | package aws 2 | 3 | // JSONValue is a representation of a grab bag type that will be marshaled 4 | // into a json string. This type can be used just like any other map. 5 | // 6 | // Example: 7 | // 8 | // values := aws.JSONValue{ 9 | // "Foo": "Bar", 10 | // } 11 | // values["Baz"] = "Qux" 12 | type JSONValue map[string]interface{} 13 | -------------------------------------------------------------------------------- /vendor/github.com/go-lintpack/lintpack/Makefile: -------------------------------------------------------------------------------- 1 | .PHONY: test ci 2 | 3 | %: # stubs to get makefile param for `test-checker` command 4 | @: # see: https://stackoverflow.com/a/6273809/433041 5 | 6 | build: 7 | go build cmd/lintpack/build.go cmd/lintpack/main.go 8 | 9 | test: 10 | go test -v -count=1 ./... 11 | 12 | ci: 13 | go get -t -v ./... 14 | go test -v -count=1 ./... 15 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/go-tools/version/version.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | import ( 4 | "fmt" 5 | "os" 6 | "path/filepath" 7 | ) 8 | 9 | const Version = "2019.1.1" 10 | 11 | func Print() { 12 | if Version == "devel" { 13 | fmt.Printf("%s (no version)\n", filepath.Base(os.Args[0])) 14 | } else { 15 | fmt.Printf("%s %s\n", filepath.Base(os.Args[0]), Version) 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/internal/plugin/grpc_broker.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | package plugin; 3 | option go_package = "plugin"; 4 | 5 | message ConnInfo { 6 | uint32 service_id = 1; 7 | string network = 2; 8 | string address = 3; 9 | } 10 | 11 | service GRPCBroker { 12 | rpc StartStream(stream ConnInfo) returns (stream ConnInfo); 13 | } 14 | 15 | 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/hcl/parser/error.go: -------------------------------------------------------------------------------- 1 | package parser 2 | 3 | import ( 4 | "fmt" 5 | 6 | "github.com/hashicorp/hcl/hcl/token" 7 | ) 8 | 9 | // PosError is a parse error that contains a position. 10 | type PosError struct { 11 | Pos token.Pos 12 | Err error 13 | } 14 | 15 | func (e *PosError) Error() string { 16 | return fmt.Sprintf("At %s: %s", e.Pos, e.Err) 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/registry/regsrc/regsrc.go: -------------------------------------------------------------------------------- 1 | // Package regsrc provides helpers for working with source strings that identify 2 | // resources within a Terraform registry. 3 | package regsrc 4 | 5 | var ( 6 | // PublicRegistryHost is a FriendlyHost that represents the public registry. 7 | PublicRegistryHost = NewFriendlyHost("registry.terraform.io") 8 | ) 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/node_provider.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | // NodeApplyableProvider represents a provider during an apply. 4 | type NodeApplyableProvider struct { 5 | *NodeAbstractProvider 6 | } 7 | 8 | // GraphNodeEvalable 9 | func (n *NodeApplyableProvider) EvalTree() EvalNode { 10 | return ProviderEvalTree(n, n.ProviderConfig()) 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/pflag/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | language: go 4 | 5 | go: 6 | - 1.7.3 7 | - 1.8.1 8 | - tip 9 | 10 | matrix: 11 | allow_failures: 12 | - go: tip 13 | 14 | install: 15 | - go get github.com/golang/lint/golint 16 | - export PATH=$GOPATH/bin:$PATH 17 | - go install ./... 18 | 19 | script: 20 | - verify/all.sh -v 21 | - go test ./... 22 | -------------------------------------------------------------------------------- /vendor/github.com/armon/go-radix/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # How to contribute 2 | 3 | We definitely welcome patches and contribution to this project! 4 | 5 | ### Legal requirements 6 | 7 | In order to protect both you and ourselves, you will need to sign the 8 | [Contributor License Agreement](https://cla.developers.google.com/clas). 9 | 10 | You may have already signed it for other Google projects. 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-getter/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | 3 | addons: 4 | apt: 5 | sources: 6 | - sourceline: 'ppa:git-core/ppa' 7 | packages: 8 | - git 9 | 10 | language: go 11 | 12 | os: 13 | - linux 14 | - osx 15 | 16 | go: 17 | - "1.11.x" 18 | 19 | before_script: 20 | - go build ./cmd/go-getter 21 | 22 | branches: 23 | only: 24 | - master 25 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-getter/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "build-{branch}-{build}" 2 | image: Visual Studio 2017 3 | clone_folder: c:\gopath\github.com\hashicorp\go-getter 4 | environment: 5 | GOPATH: c:\gopath 6 | install: 7 | - cmd: >- 8 | echo %Path% 9 | 10 | go version 11 | 12 | go env 13 | 14 | go get -d -v -t ./... 15 | build_script: 16 | - cmd: go test ./... 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/doc.go: -------------------------------------------------------------------------------- 1 | // Package hclsyntax contains the parser, AST, etc for HCL's native language, 2 | // as opposed to the JSON variant. 3 | // 4 | // In normal use applications should rarely depend on this package directly, 5 | // instead preferring the higher-level interface of the main hcl package and 6 | // its companion package hclparse. 7 | package hclsyntax 8 | -------------------------------------------------------------------------------- /vendor/github.com/ulikunitz/xz/.gitignore: -------------------------------------------------------------------------------- 1 | # .gitignore 2 | 3 | TODO.html 4 | README.html 5 | 6 | lzma/writer.txt 7 | lzma/reader.txt 8 | 9 | cmd/gxz/gxz 10 | cmd/xb/xb 11 | 12 | # test executables 13 | *.test 14 | 15 | # profile files 16 | *.out 17 | 18 | # vim swap file 19 | .*.swp 20 | 21 | # executables on windows 22 | *.exe 23 | 24 | # default compression test file 25 | enwik8* 26 | -------------------------------------------------------------------------------- /vendor/github.com/vmihailenco/msgpack/msgpack.go: -------------------------------------------------------------------------------- 1 | package msgpack 2 | 3 | type Marshaler interface { 4 | MarshalMsgpack() ([]byte, error) 5 | } 6 | 7 | type Unmarshaler interface { 8 | UnmarshalMsgpack([]byte) error 9 | } 10 | 11 | type CustomEncoder interface { 12 | EncodeMsgpack(*Encoder) error 13 | } 14 | 15 | type CustomDecoder interface { 16 | DecodeMsgpack(*Decoder) error 17 | } 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build windows 6 | // +build go1.9 7 | 8 | package windows 9 | 10 | import "syscall" 11 | 12 | type Errno = syscall.Errno 13 | type SysProcAttr = syscall.SysProcAttr 14 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd dragonfly 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const openMode = unix.O_NONBLOCK | unix.O_RDONLY 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/logutils/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/addrs/self.go: -------------------------------------------------------------------------------- 1 | package addrs 2 | 3 | // Self is the address of the special object "self" that behaves as an alias 4 | // for a containing object currently in scope. 5 | const Self selfT = 0 6 | 7 | type selfT int 8 | 9 | func (s selfT) referenceableSigil() { 10 | } 11 | 12 | func (s selfT) String() string { 13 | return "self" 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/pelletier/go-toml/fuzz.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh 2 | set -eu 3 | 4 | go get github.com/dvyukov/go-fuzz/go-fuzz 5 | go get github.com/dvyukov/go-fuzz/go-fuzz-build 6 | 7 | if [ ! -e toml-fuzz.zip ]; then 8 | go-fuzz-build github.com/pelletier/go-toml 9 | fi 10 | 11 | rm -fr fuzz 12 | mkdir -p fuzz/corpus 13 | cp *.toml fuzz/corpus 14 | 15 | go-fuzz -bin=toml-fuzz.zip -workdir=fuzz 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_aix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix 6 | 7 | package terminal 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TCGETS 12 | const ioctlWriteTermios = unix.TCSETS 13 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_legacy.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019, The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE.md file. 4 | 5 | // +build !go1.10 6 | 7 | package flags 8 | 9 | // AtLeastGo110 reports whether the Go toolchain is at least Go 1.10. 10 | const AtLeastGo110 = false 11 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/flags/toolchain_recent.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019, The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE.md file. 4 | 5 | // +build go1.10 6 | 7 | package flags 8 | 9 | // AtLeastGo110 reports whether the Go toolchain is at least Go 1.10. 10 | const AtLeastGo110 = true 11 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/afero/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: '{build}' 2 | clone_folder: C:\gopath\src\github.com\spf13\afero 3 | environment: 4 | GOPATH: C:\gopath 5 | build_script: 6 | - cmd: >- 7 | go version 8 | 9 | go env 10 | 11 | go get -v github.com/spf13/afero/... 12 | 13 | go build github.com/spf13/afero 14 | test_script: 15 | - cmd: go test -race -v github.com/spf13/afero/... 16 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/jwalterweatherman/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/syscall_linux_amd64_gc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build amd64,linux 6 | // +build !gccgo 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | //go:noescape 13 | func gettimeofday(tv *Timeval) (err syscall.Errno) 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/asm_windows_arm.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | #include "textflag.h" 6 | 7 | TEXT ·getprocaddress(SB),NOSPLIT,$0 8 | B syscall·getprocaddress(SB) 9 | 10 | TEXT ·loadlibrary(SB),NOSPLIT,$0 11 | B syscall·loadlibrary(SB) 12 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/client/metadata/client_info.go: -------------------------------------------------------------------------------- 1 | package metadata 2 | 3 | // ClientInfo wraps immutable data from the client.Client structure. 4 | type ClientInfo struct { 5 | ServiceName string 6 | ServiceID string 7 | APIVersion string 8 | Endpoint string 9 | SigningName string 10 | SigningRegion string 11 | JSONVersion string 12 | TargetPrefix string 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/internal/sdkio/io_go1.7.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package sdkio 4 | 5 | import "io" 6 | 7 | // Alias for Go 1.7 io package Seeker constants 8 | const ( 9 | SeekStart = io.SeekStart // seek relative to the origin of the file 10 | SeekCurrent = io.SeekCurrent // seek relative to the current offset 11 | SeekEnd = io.SeekEnd // seek relative to the end 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/fsnotify/fsnotify/open_mode_darwin.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin 6 | 7 | package fsnotify 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | // note: this constant is not defined on BSD 12 | const openMode = unix.O_EVTONLY 13 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/gosec/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM golang:1.11.1-alpine3.8 as build 2 | WORKDIR /go/src/github.com/golangci/gosec 3 | COPY . . 4 | RUN apk add -U git make 5 | RUN go get -u github.com/golang/dep/cmd/dep 6 | RUN make 7 | 8 | FROM golang:1.11.1-alpine3.8 9 | RUN apk add -U gcc musl-dev 10 | COPY --from=build /go/src/github.com/golangci/gosec/gosec /usr/local/bin/gosec 11 | ENTRYPOINT ["gosec"] 12 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/flags/flags.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019, The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE.md file. 4 | 5 | package flags 6 | 7 | // Deterministic controls whether the output of Diff should be deterministic. 8 | // This is only used for testing. 9 | var Deterministic bool 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/yamux/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | -------------------------------------------------------------------------------- /vendor/github.com/posener/complete/go.sum: -------------------------------------------------------------------------------- 1 | github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= 2 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 3 | github.com/hashicorp/go-multierror v1.0.0 h1:iVjPR7a6H0tWELX5NxNe7bYopibicUzc7uPribsnS6o= 4 | github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= 5 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_check_notappengine.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!gopherjs 2 | 3 | package logrus 4 | 5 | import ( 6 | "io" 7 | "os" 8 | 9 | "golang.org/x/crypto/ssh/terminal" 10 | ) 11 | 12 | func checkIfTerminal(w io.Writer) bool { 13 | switch v := w.(type) { 14 | case *os.File: 15 | return terminal.IsTerminal(int(v.Fd())) 16 | default: 17 | return false 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/viper/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.bench -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/poly1305/mac_noasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !amd64,!ppc64le gccgo appengine 6 | 7 | package poly1305 8 | 9 | type mac struct{ macGeneric } 10 | 11 | func newMAC(key *[32]byte) mac { return mac{newMACGeneric(key)} } 12 | -------------------------------------------------------------------------------- /vendor/golang.org/x/oauth2/internal/client_appengine.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package internal 8 | 9 | import "google.golang.org/appengine/urlfetch" 10 | 11 | func init() { 12 | appengineClientHook = urlfetch.Client 13 | } 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/api/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | # Please keep the list sorted. 10 | Google Inc. 11 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/internal/main.go: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build appengine 6 | 7 | package internal 8 | 9 | import ( 10 | "appengine_internal" 11 | ) 12 | 13 | func Main() { 14 | MainPath = "" 15 | appengine_internal.Main() 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/BurntSushi/toml/Makefile: -------------------------------------------------------------------------------- 1 | install: 2 | go install ./... 3 | 4 | test: install 5 | go test -v 6 | toml-test toml-test-decoder 7 | toml-test -encoder toml-test-encoder 8 | 9 | fmt: 10 | gofmt -w *.go */*.go 11 | colcheck *.go */*.go 12 | 13 | tags: 14 | find ./ -name '*.go' -print0 | xargs -0 gotags > TAGS 15 | 16 | push: 17 | git push origin master 18 | git push github master 19 | 20 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astcast/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-toolsmith/astequal v1.0.0 h1:4zxD8j3JRFNyLN46lodQuqz3xdKSrur7U/sr0SDS/gQ= 2 | github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= 3 | github.com/go-toolsmith/strparse v1.0.0 h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4= 4 | github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astcopy/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-toolsmith/astequal v1.0.0 h1:4zxD8j3JRFNyLN46lodQuqz3xdKSrur7U/sr0SDS/gQ= 2 | github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= 3 | github.com/go-toolsmith/strparse v1.0.0 h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4= 4 | github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astfmt/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-toolsmith/astequal v1.0.0 h1:4zxD8j3JRFNyLN46lodQuqz3xdKSrur7U/sr0SDS/gQ= 2 | github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= 3 | github.com/go-toolsmith/strparse v1.0.0 h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4= 4 | github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= 5 | -------------------------------------------------------------------------------- /vendor/github.com/go-toolsmith/astp/go.sum: -------------------------------------------------------------------------------- 1 | github.com/go-toolsmith/astequal v1.0.0 h1:4zxD8j3JRFNyLN46lodQuqz3xdKSrur7U/sr0SDS/gQ= 2 | github.com/go-toolsmith/astequal v1.0.0/go.mod h1:H+xSiq0+LtiDC11+h1G32h7Of5O3CYFJ99GVbS5lDKY= 3 | github.com/go-toolsmith/strparse v1.0.0 h1:Vcw78DnpCAKlM20kSbAyO4mPfJn/lyYA4BJUDxe2Jb4= 4 | github.com/go-toolsmith/strparse v1.0.0/go.mod h1:YI2nUKP9YGZnL/L1/DLFBfixrcjslWct4wyljWhSRy8= 5 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/helper/structure/flatten_json.go: -------------------------------------------------------------------------------- 1 | package structure 2 | 3 | import "encoding/json" 4 | 5 | func FlattenJsonToString(input map[string]interface{}) (string, error) { 6 | if len(input) == 0 { 7 | return "", nil 8 | } 9 | 10 | result, err := json.Marshal(input) 11 | if err != nil { 12 | return "", err 13 | } 14 | 15 | return string(result), nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/addrs/terraform_attr.go: -------------------------------------------------------------------------------- 1 | package addrs 2 | 3 | // TerraformAttr is the address of an attribute of the "terraform" object in 4 | // the interpolation scope, like "terraform.workspace". 5 | type TerraformAttr struct { 6 | referenceable 7 | Name string 8 | } 9 | 10 | func (ta TerraformAttr) String() string { 11 | return "terraform." + ta.Name 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/initwd/doc.go: -------------------------------------------------------------------------------- 1 | // Package initwd contains various helper functions used by the "terraform init" 2 | // command to initialize a working directory. 3 | // 4 | // These functions may also be used from testing code to simulate the behaviors 5 | // of "terraform init" against test fixtures, but should not be used elsewhere 6 | // in the main code. 7 | package initwd 8 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/graph_interface_subgraph.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | import ( 4 | "github.com/hashicorp/terraform-plugin-sdk/internal/addrs" 5 | ) 6 | 7 | // GraphNodeSubPath says that a node is part of a graph with a 8 | // different path, and the context should be adjusted accordingly. 9 | type GraphNodeSubPath interface { 10 | Path() addrs.ModuleInstance 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/pkg/errors/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | *.prof 25 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/curve25519/const_amd64.h: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // This code was translated into a form compatible with 6a from the public 6 | // domain sources in SUPERCOP: https://bench.cr.yp.to/supercop.html 7 | 8 | #define REDMASK51 0x0007FFFFFFFFFFFF 9 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/instancetype.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | //go:generate go run golang.org/x/tools/cmd/stringer -type=InstanceType instancetype.go 4 | 5 | // InstanceType is an enum of the various types of instances store in the State 6 | type InstanceType int 7 | 8 | const ( 9 | TypeInvalid InstanceType = iota 10 | TypePrimary 11 | TypeTainted 12 | TypeDeposed 13 | ) 14 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cast/.gitignore: -------------------------------------------------------------------------------- 1 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 2 | *.o 3 | *.a 4 | *.so 5 | 6 | # Folders 7 | _obj 8 | _test 9 | 10 | # Architecture specific extensions/prefixes 11 | *.[568vq] 12 | [568vq].out 13 | 14 | *.cgo1.go 15 | *.cgo2.c 16 | _cgo_defun.c 17 | _cgo_gotypes.go 18 | _cgo_export.* 19 | 20 | _testmain.go 21 | 22 | *.exe 23 | *.test 24 | 25 | *.bench 26 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/module_call.go: -------------------------------------------------------------------------------- 1 | package tfconfig 2 | 3 | // ModuleCall represents a "module" block within a module. That is, a 4 | // declaration of a child module from inside its parent. 5 | type ModuleCall struct { 6 | Name string `json:"name"` 7 | Source string `json:"source"` 8 | Version string `json:"version,omitempty"` 9 | 10 | Pos SourcePos `json:"pos"` 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/keybase/go-crypto/curve25519/const_amd64.h: -------------------------------------------------------------------------------- 1 | // Copyright 2012 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // This code was translated into a form compatible with 6a from the public 6 | // domain sources in SUPERCOP: https://bench.cr.yp.to/supercop.html 7 | 8 | #define REDMASK51 0x0007FFFFFFFFFFFF 9 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | go: 3 | - 1.6.x 4 | - 1.7.x 5 | - 1.8.x 6 | - tip 7 | env: 8 | - GOMAXPROCS=4 GORACE=halt_on_error=1 9 | install: 10 | - go get github.com/stretchr/testify/assert 11 | - go get gopkg.in/gemnasium/logrus-airbrake-hook.v2 12 | - go get golang.org/x/sys/unix 13 | - go get golang.org/x/sys/windows 14 | script: 15 | - go test -race -v ./... 16 | -------------------------------------------------------------------------------- /vendor/github.com/zclconf/go-cty-yaml/CHANGELOG.md: -------------------------------------------------------------------------------- 1 | # 1.0.1 (July 30, 2019) 2 | 3 | * The YAML decoder is now correctly treating quoted scalars as verbatim literal 4 | strings rather than using the fuzzy type selection rules for them. Fuzzy 5 | type selection rules still apply to unquoted scalars. 6 | ([#4](https://github.com/zclconf/go-cty-yaml/pull/4)) 7 | 8 | # 1.0.0 (May 26, 2019) 9 | 10 | Initial release. 11 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule10.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 11 | } 12 | -------------------------------------------------------------------------------- /vendor/github.com/terraform-providers/terraform-provider-random/random/resource_password.go: -------------------------------------------------------------------------------- 1 | package random 2 | 3 | import ( 4 | "github.com/hashicorp/terraform-plugin-sdk/helper/schema" 5 | ) 6 | 7 | func resourcePassword() *schema.Resource { 8 | return &schema.Resource{ 9 | Create: createStringFunc(true), 10 | Read: readNil, 11 | Delete: schema.RemoveFromState, 12 | Schema: stringSchemaV1(true), 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/mksyscall.go: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build generate 6 | 7 | package windows 8 | 9 | //go:generate go run $GOROOT/src/syscall/mksyscall_windows.go -output zsyscall_windows.go eventlog.go service.go syscall_windows.go security_windows.go 10 | -------------------------------------------------------------------------------- /vendor/github.com/gammazero/deque/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | 3 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 4 | *.o 5 | *.a 6 | *.so 7 | 8 | # Folders 9 | _obj 10 | _test 11 | 12 | # Architecture specific extensions/prefixes 13 | *.[568vq] 14 | [568vq].out 15 | 16 | *.cgo1.go 17 | *.cgo2.c 18 | _cgo_defun.c 19 | _cgo_gotypes.go 20 | _cgo_export.* 21 | 22 | _testmain.go 23 | 24 | *.exe 25 | *.test 26 | *.prof 27 | -------------------------------------------------------------------------------- /vendor/github.com/gostaticanalysis/analysisutil/file.go: -------------------------------------------------------------------------------- 1 | package analysisutil 2 | 3 | import ( 4 | "go/ast" 5 | "go/token" 6 | 7 | "golang.org/x/tools/go/analysis" 8 | ) 9 | 10 | // File finds *ast.File in pass.Files by pos. 11 | func File(pass *analysis.Pass, pos token.Pos) *ast.File { 12 | for _, f := range pass.Files { 13 | if f.Pos() <= pos && pos <= f.End() { 14 | return f 15 | } 16 | } 17 | return nil 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-getter/helper/url/url.go: -------------------------------------------------------------------------------- 1 | package url 2 | 3 | import ( 4 | "net/url" 5 | ) 6 | 7 | // Parse parses rawURL into a URL structure. 8 | // The rawURL may be relative or absolute. 9 | // 10 | // Parse is a wrapper for the Go stdlib net/url Parse function, but returns 11 | // Windows "safe" URLs on Windows platforms. 12 | func Parse(rawURL string) (*url.URL, error) { 13 | return parse(rawURL) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_fileno.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build freebsd openbsd netbsd 6 | 7 | package fastwalk 8 | 9 | import "syscall" 10 | 11 | func direntInode(dirent *syscall.Dirent) uint64 { 12 | return uint64(dirent.Fileno) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/.travis.yml: -------------------------------------------------------------------------------- 1 | language: go 2 | 3 | go_import_path: google.golang.org/appengine 4 | 5 | install: 6 | - ./travis_install.sh 7 | 8 | script: 9 | - ./travis_test.sh 10 | 11 | matrix: 12 | include: 13 | - go: 1.8.x 14 | env: GOAPP=true 15 | - go: 1.9.x 16 | env: GOAPP=true 17 | - go: 1.10.x 18 | env: GOAPP=false 19 | - go: 1.11.x 20 | env: GO111MODULE=on 21 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/travis_test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | go version 5 | go test -v google.golang.org/appengine/... 6 | go test -v -race google.golang.org/appengine/... 7 | if [[ $GOAPP == "true" ]]; then 8 | export PATH="$PATH:/tmp/sdk/go_appengine" 9 | export APPENGINE_DEV_APPSERVER=/tmp/sdk/go_appengine/dev_appserver.py 10 | goapp version 11 | goapp test -v google.golang.org/appengine/... 12 | fi 13 | -------------------------------------------------------------------------------- /vendor/github.com/gammazero/workerpool/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | 3 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 4 | *.o 5 | *.a 6 | *.so 7 | 8 | # Folders 9 | _obj 10 | _test 11 | 12 | # Architecture specific extensions/prefixes 13 | *.[568vq] 14 | [568vq].out 15 | 16 | *.cgo1.go 17 | *.cgo2.c 18 | _cgo_defun.c 19 | _cgo_gotypes.go 20 | _cgo_export.* 21 | 22 | _testmain.go 23 | 24 | *.exe 25 | *.test 26 | *.prof 27 | -------------------------------------------------------------------------------- /vendor/github.com/sirupsen/logrus/terminal_linux.go: -------------------------------------------------------------------------------- 1 | // Based on ssh/terminal: 2 | // Copyright 2013 The Go Authors. All rights reserved. 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file. 5 | 6 | // +build !appengine,!gopherjs 7 | 8 | package logrus 9 | 10 | import "golang.org/x/sys/unix" 11 | 12 | const ioctlReadTermios = unix.TCGETS 13 | 14 | type Termios unix.Termios 15 | -------------------------------------------------------------------------------- /vendor/github.com/spf13/cobra/command_win.go: -------------------------------------------------------------------------------- 1 | // +build windows 2 | 3 | package cobra 4 | 5 | import ( 6 | "os" 7 | "time" 8 | 9 | "github.com/inconshreveable/mousetrap" 10 | ) 11 | 12 | var preExecHookFn = preExecHook 13 | 14 | func preExecHook(c *Command) { 15 | if MousetrapHelpText != "" && mousetrap.StartedByExplorer() { 16 | c.Print(MousetrapHelpText) 17 | time.Sleep(5 * time.Second) 18 | os.Exit(1) 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/ssh/terminal/util_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2013 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin dragonfly freebsd netbsd openbsd 6 | 7 | package terminal 8 | 9 | import "golang.org/x/sys/unix" 10 | 11 | const ioctlReadTermios = unix.TIOCGETA 12 | const ioctlWriteTermios = unix.TIOCSETA 13 | -------------------------------------------------------------------------------- /scripts/gofmtcheck.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | # Check gofmt 4 | echo "==> Checking that code complies with gofmt requirements..." 5 | gofmt_files=$(gofmt -l `find . -name '*.go' | grep -v vendor`) 6 | if [[ -n ${gofmt_files} ]]; then 7 | echo 'gofmt needs running on the following files:' 8 | echo "${gofmt_files}" 9 | echo "You can use the command: \`make fmt\` to reformat code." 10 | exit 1 11 | fi 12 | 13 | exit 0 14 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/request/connection_reset_error.go: -------------------------------------------------------------------------------- 1 | // +build !appengine,!plan9 2 | 3 | package request 4 | 5 | import ( 6 | "net" 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | func isErrConnectionReset(err error) bool { 12 | if opErr, ok := err.(*net.OpError); ok { 13 | if sysErr, ok := opErr.Err.(*os.SyscallError); ok { 14 | return sysErr.Err == syscall.ECONNRESET 15 | } 16 | } 17 | 18 | return false 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_ino.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build linux darwin 6 | // +build !appengine 7 | 8 | package fastwalk 9 | 10 | import "syscall" 11 | 12 | func direntInode(dirent *syscall.Dirent) uint64 { 13 | return uint64(dirent.Ino) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/go.mod: -------------------------------------------------------------------------------- 1 | module google.golang.org/appengine 2 | 3 | require ( 4 | github.com/golang/protobuf v1.3.1 5 | golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5 // indirect 6 | golang.org/x/net v0.0.0-20190603091049-60506f45cf65 7 | golang.org/x/sys v0.0.0-20190606165138-5da285871e9c // indirect 8 | golang.org/x/text v0.3.2 9 | golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b // indirect 10 | ) 11 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/decode_amd64.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Snappy-Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !appengine 6 | // +build gc 7 | // +build !noasm 8 | 9 | package snappy 10 | 11 | // decode has the same semantics as in decode_other.go. 12 | // 13 | //go:noescape 14 | func decode(dst, src []byte) int 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl/appveyor.yml: -------------------------------------------------------------------------------- 1 | version: "build-{branch}-{build}" 2 | image: Visual Studio 2015 3 | clone_folder: c:\gopath\src\github.com\hashicorp\hcl 4 | environment: 5 | GOPATH: c:\gopath 6 | init: 7 | - git config --global core.autocrlf false 8 | install: 9 | - cmd: >- 10 | echo %Path% 11 | 12 | go version 13 | 14 | go env 15 | 16 | go get -t ./... 17 | 18 | build_script: 19 | - cmd: go test -v ./... 20 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcl/json/doc.go: -------------------------------------------------------------------------------- 1 | // Package json is the JSON parser for HCL. It parses JSON files and returns 2 | // implementations of the core HCL structural interfaces in terms of the 3 | // JSON data inside. 4 | // 5 | // This is not a generic JSON parser. Instead, it deals with the mapping from 6 | // the JSON information model to the HCL information model, using a number 7 | // of hard-coded structural conventions. 8 | package json 9 | -------------------------------------------------------------------------------- /vendor/github.com/kisielk/gotool/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: false 2 | language: go 3 | go: 4 | - 1.2 5 | - 1.3 6 | - 1.4 7 | - 1.5 8 | - 1.6 9 | - 1.7 10 | - 1.8 11 | - 1.9 12 | - master 13 | matrix: 14 | allow_failures: 15 | - go: master 16 | fast_finish: true 17 | install: 18 | - # Skip. 19 | script: 20 | - go get -t -v ./... 21 | - diff -u <(echo -n) <(gofmt -d .) 22 | - go tool vet . 23 | - go test -v -race ./... 24 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/internal/fastwalk/fastwalk_dirent_namlen_bsd.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build darwin freebsd openbsd netbsd 6 | 7 | package fastwalk 8 | 9 | import "syscall" 10 | 11 | func direntNamlen(dirent *syscall.Dirent) uint64 { 12 | return uint64(dirent.Namlen) 13 | } 14 | -------------------------------------------------------------------------------- /google/test-fixtures/cloudfunctions/firestore_trigger.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Background Cloud Function to be triggered by Firestore. 3 | * 4 | * @param {object} event The Cloud Functions event. 5 | * @param {function} callback The callback function. 6 | */ 7 | exports.helloFirestore = function (event, callback) { 8 | const messageId = event.params.messageId; 9 | 10 | console.log(`Received message ${messageId}`); 11 | 12 | callback(); 13 | }; 14 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/addrs/for_each_attr.go: -------------------------------------------------------------------------------- 1 | package addrs 2 | 3 | // ForEachAttr is the address of an attribute referencing the current "for_each" object in 4 | // the interpolation scope, addressed using the "each" keyword, ex. "each.key" and "each.value" 5 | type ForEachAttr struct { 6 | referenceable 7 | Name string 8 | } 9 | 10 | func (f ForEachAttr) String() string { 11 | return "each." + f.Name 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/stoewer/go-strcase/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2017, A. Stoewer 2 | // All rights reserved. 3 | 4 | // Package strcase converts between different kinds of naming formats such as camel case 5 | // (CamelCase), snake case (snake_case) or kebab case (kebab-case). The package is designed 6 | // to work only with strings consisting of standard ASCII letters. Unicode is currently not 7 | // supported. 8 | package strcase 9 | -------------------------------------------------------------------------------- /vendor/github.com/client9/misspell/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | dist: trusty 3 | group: edge 4 | language: go 5 | go: 6 | - "1.10" 7 | git: 8 | depth: 1 9 | 10 | script: 11 | - ./scripts/travis.sh 12 | 13 | # calls goreleaser when a new tag is pushed 14 | deploy: 15 | - provider: script 16 | skip_cleanup: true 17 | script: curl -sL http://git.io/goreleaser | bash 18 | on: 19 | tags: true 20 | condition: $TRAVIS_OS_NAME = linux 21 | -------------------------------------------------------------------------------- /vendor/github.com/golang/mock/AUTHORS: -------------------------------------------------------------------------------- 1 | # This is the official list of GoMock authors for copyright purposes. 2 | # This file is distinct from the CONTRIBUTORS files. 3 | # See the latter for an explanation. 4 | 5 | # Names should be added to this file as 6 | # Name or Organization 7 | # The email address is not required for organizations. 8 | 9 | # Please keep the list sorted. 10 | 11 | Alex Reece 12 | Google Inc. 13 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/misspell/.travis.yml: -------------------------------------------------------------------------------- 1 | sudo: required 2 | dist: trusty 3 | group: edge 4 | language: go 5 | go: 6 | - "1.10" 7 | git: 8 | depth: 1 9 | 10 | script: 11 | - ./scripts/travis.sh 12 | 13 | # calls goreleaser when a new tag is pushed 14 | deploy: 15 | - provider: script 16 | skip_cleanup: true 17 | script: curl -sL http://git.io/goreleaser | bash 18 | on: 19 | tags: true 20 | condition: $TRAVIS_OS_NAME = linux 21 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-multierror/go.sum: -------------------------------------------------------------------------------- 1 | github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce h1:prjrVgOk2Yg6w+PflHoszQNLTUh4kaByUcEWM/9uin4= 2 | github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 3 | github.com/hashicorp/errwrap v1.0.0 h1:hLrqtEDnRye3+sgx6z4qVLNuviH3MR5aQ0ykNJa/UYA= 4 | github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= 5 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/signer/v4/uri_path.go: -------------------------------------------------------------------------------- 1 | // +build go1.5 2 | 3 | package v4 4 | 5 | import ( 6 | "net/url" 7 | "strings" 8 | ) 9 | 10 | func getURIPath(u *url.URL) string { 11 | var uri string 12 | 13 | if len(u.Opaque) > 0 { 14 | uri = "/" + strings.Join(strings.Split(u.Opaque, "/")[3:], "/") 15 | } else { 16 | uri = u.EscapedPath() 17 | } 18 | 19 | if len(uri) == 0 { 20 | uri = "/" 21 | } 22 | 23 | return uri 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/stream.go: -------------------------------------------------------------------------------- 1 | package plugin 2 | 3 | import ( 4 | "io" 5 | "log" 6 | ) 7 | 8 | func copyStream(name string, dst io.Writer, src io.Reader) { 9 | if src == nil { 10 | panic(name + ": src is nil") 11 | } 12 | if dst == nil { 13 | panic(name + ": dst is nil") 14 | } 15 | if _, err := io.Copy(dst, src); err != nil && err != io.EOF { 16 | log.Printf("[ERR] plugin: stream copy '%s' error: %s", name, err) 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/moduledeps/doc.go: -------------------------------------------------------------------------------- 1 | // Package moduledeps contains types that can be used to describe the 2 | // providers required for all of the modules in a module tree. 3 | // 4 | // It does not itself contain the functionality for populating such 5 | // data structures; that's in Terraform core, since this package intentionally 6 | // does not depend on terraform core to avoid package dependency cycles. 7 | package moduledeps 8 | -------------------------------------------------------------------------------- /examples/content-based-load-balancing/variables.tf: -------------------------------------------------------------------------------- 1 | variable "region" { 2 | default = "us-central1" 3 | } 4 | 5 | variable "region_zone" { 6 | default = "us-central1-f" 7 | } 8 | 9 | variable "project_name" { 10 | description = "The ID of the Google Cloud project" 11 | } 12 | 13 | variable "credentials_file_path" { 14 | description = "Path to the JSON file used to describe your account credentials" 15 | default = "~/.gcloud/Terraform.json" 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-version/version_collection.go: -------------------------------------------------------------------------------- 1 | package version 2 | 3 | // Collection is a type that implements the sort.Interface interface 4 | // so that versions can be sorted. 5 | type Collection []*Version 6 | 7 | func (v Collection) Len() int { 8 | return len(v) 9 | } 10 | 11 | func (v Collection) Less(i, j int) bool { 12 | return v[i].LessThan(v[j]) 13 | } 14 | 15 | func (v Collection) Swap(i, j int) { 16 | v[i], v[j] = v[j], v[i] 17 | } 18 | -------------------------------------------------------------------------------- /vendor/github.com/kisielk/gotool/README.md: -------------------------------------------------------------------------------- 1 | gotool 2 | ====== 3 | [![GoDoc](https://godoc.org/github.com/kisielk/gotool?status.svg)](https://godoc.org/github.com/kisielk/gotool) 4 | [![Build Status](https://travis-ci.org/kisielk/gotool.svg?branch=master)](https://travis-ci.org/kisielk/gotool) 5 | 6 | Package gotool contains utility functions used to implement the standard "cmd/go" tool, provided as a convenience to developers who want to write tools with similar semantics. 7 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/aliases.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | // +build go1.9 7 | 8 | package unix 9 | 10 | import "syscall" 11 | 12 | type Signal = syscall.Signal 13 | type Errno = syscall.Errno 14 | type SysProcAttr = syscall.SysProcAttr 15 | -------------------------------------------------------------------------------- /examples/example-versioned-module/ip/variables.tf: -------------------------------------------------------------------------------- 1 | variable "name" { 2 | description = "A name for the ip address resource" 3 | } 4 | 5 | variable "labels" { 6 | type = map(string) 7 | description = "A map of key:value labels to apply to the ip address resource" 8 | default = {} 9 | } 10 | 11 | locals { 12 | # This ends up being a boolean 13 | # 1 if there are any entries 14 | # 0 otherwise 15 | has_labels = min(1, length(var.labels)) 16 | } 17 | -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/storage/go.mod: -------------------------------------------------------------------------------- 1 | module cloud.google.com/go/storage 2 | 3 | go 1.9 4 | 5 | require ( 6 | cloud.google.com/go v0.46.3 7 | github.com/golang/protobuf v1.3.2 8 | github.com/google/go-cmp v0.3.0 9 | github.com/googleapis/gax-go/v2 v2.0.5 10 | golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45 11 | google.golang.org/api v0.9.0 12 | google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51 13 | google.golang.org/grpc v1.21.1 14 | ) 15 | -------------------------------------------------------------------------------- /vendor/github.com/golang/snappy/.gitignore: -------------------------------------------------------------------------------- 1 | cmd/snappytool/snappytool 2 | testdata/bench 3 | 4 | # These explicitly listed benchmark data files are for an obsolete version of 5 | # snappy_test.go. 6 | testdata/alice29.txt 7 | testdata/asyoulik.txt 8 | testdata/fireworks.jpeg 9 | testdata/geo.protodata 10 | testdata/html 11 | testdata/html_x_4 12 | testdata/kppkn.gtb 13 | testdata/lcet10.txt 14 | testdata/paper-100k.pdf 15 | testdata/plrabn12.txt 16 | testdata/urls.10K 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/process_posix.go: -------------------------------------------------------------------------------- 1 | // +build !windows 2 | 3 | package plugin 4 | 5 | import ( 6 | "os" 7 | "syscall" 8 | ) 9 | 10 | // _pidAlive tests whether a process is alive or not by sending it Signal 0, 11 | // since Go otherwise has no way to test this. 12 | func _pidAlive(pid int) bool { 13 | proc, err := os.FindProcess(pid) 14 | if err == nil { 15 | err = proc.Signal(syscall.Signal(0)) 16 | } 17 | 18 | return err == nil 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/resource_mode.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | //go:generate go run golang.org/x/tools/cmd/stringer -type=ResourceMode -output=resource_mode_string.go resource_mode.go 4 | 5 | // ResourceMode is deprecated, use addrs.ResourceMode instead. 6 | // It has been preserved for backwards compatibility. 7 | type ResourceMode int 8 | 9 | const ( 10 | ManagedResourceMode ResourceMode = iota 11 | DataResourceMode 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/cli/ui_writer.go: -------------------------------------------------------------------------------- 1 | package cli 2 | 3 | // UiWriter is an io.Writer implementation that can be used with 4 | // loggers that writes every line of log output data to a Ui at the 5 | // Info level. 6 | type UiWriter struct { 7 | Ui Ui 8 | } 9 | 10 | func (w *UiWriter) Write(p []byte) (n int, err error) { 11 | n = len(p) 12 | if n > 0 && p[n-1] == '\n' { 13 | p = p[:n-1] 14 | } 15 | 16 | w.Ui.Info(string(p)) 17 | return n, nil 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/pagesize_unix.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix darwin dragonfly freebsd linux netbsd openbsd solaris 6 | 7 | // For Unix, get the pagesize from the runtime. 8 | 9 | package unix 10 | 11 | import "syscall" 12 | 13 | func Getpagesize() int { 14 | return syscall.Getpagesize() 15 | } 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/text/secure/bidirule/bidirule9.0.0.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !go1.10 6 | 7 | package bidirule 8 | 9 | func (t *Transformer) isFinal() bool { 10 | if !t.isRTL() { 11 | return true 12 | } 13 | return t.state == ruleLTRFinal || t.state == ruleRTLFinal || t.state == ruleInitial 14 | } 15 | -------------------------------------------------------------------------------- /vendor/golang.org/x/tools/go/internal/gcimporter/newInterface11.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build go1.11 6 | 7 | package gcimporter 8 | 9 | import "go/types" 10 | 11 | func newInterface(methods []*types.Func, embeddeds []types.Type) *types.Interface { 12 | return types.NewInterfaceType(methods, embeddeds) 13 | } 14 | -------------------------------------------------------------------------------- /examples/content-based-load-balancing/scripts/install-video.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash -xe 2 | sudo apt-get update 3 | sudo apt-get install apache2 -y 4 | sudo a2ensite default-ssl 5 | sudo a2enmod ssl 6 | sudo service apache2 restart 7 | echo '

www-video

' | sudo tee /var/www/html/index.html 8 | sudo mkdir /var/www/html/video 9 | echo '

www-video

' | sudo tee /var/www/html/video/index.html 10 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/asm_windows_386.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // 6 | // System calls for 386, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-16 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-12 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/storage/.repo-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "storage", 3 | "name_pretty": "storage", 4 | "product_documentation": "https://cloud.google.com/storage", 5 | "client_documentation": "https://godoc.org/cloud.google.com/go/storage", 6 | "release_level": "ga", 7 | "language": "go", 8 | "repo": "googleapis/google-cloud-go", 9 | "distribution_name": "cloud.google.com/go/storage", 10 | "api_id": "storage:v2", 11 | "requires_billing": true 12 | } 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-config-inspect/tfconfig/provider_ref.go: -------------------------------------------------------------------------------- 1 | package tfconfig 2 | 3 | // ProviderRef is a reference to a provider configuration within a module. 4 | // It represents the contents of a "provider" argument in a resource, or 5 | // a value in the "providers" map for a module call. 6 | type ProviderRef struct { 7 | Name string `json:"name"` 8 | Alias string `json:"alias,omitempty"` // Empty if the default provider configuration is referenced 9 | } 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/testing.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | import ( 4 | "os" 5 | "testing" 6 | ) 7 | 8 | // TestStateFile writes the given state to the path. 9 | func TestStateFile(t *testing.T, path string, state *State) { 10 | f, err := os.Create(path) 11 | if err != nil { 12 | t.Fatalf("err: %s", err) 13 | } 14 | defer f.Close() 15 | 16 | if err := WriteState(state, f); err != nil { 17 | t.Fatalf("err: %s", err) 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/readdirent_getdents.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build aix dragonfly freebsd linux netbsd openbsd 6 | 7 | package unix 8 | 9 | // ReadDirent reads directory entries from fd and writes them into buf. 10 | func ReadDirent(fd int, buf []byte) (n int, err error) { 11 | return Getdents(fd, buf) 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/windows/asm_windows_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2009 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // 6 | // System calls for amd64, Windows are implemented in runtime/syscall_windows.goc 7 | // 8 | 9 | TEXT ·getprocaddress(SB), 7, $0-32 10 | JMP syscall·getprocaddress(SB) 11 | 12 | TEXT ·loadlibrary(SB), 7, $0-24 13 | JMP syscall·loadlibrary(SB) 14 | -------------------------------------------------------------------------------- /vendor/sourcegraph.com/sqs/pbtypes/void.proto: -------------------------------------------------------------------------------- 1 | syntax = "proto3"; 2 | 3 | package pbtypes; 4 | 5 | import "github.com/gogo/protobuf/gogoproto/gogo.proto"; 6 | 7 | option (gogoproto.unmarshaler_all) = true; 8 | option (gogoproto.marshaler_all) = true; 9 | option (gogoproto.sizer_all) = true; 10 | 11 | // Void is an empty type used as the protobuf RPC method arg or result 12 | // for methods that take no parameters or yield no results, 13 | // respectively. 14 | message Void {} 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/states/output_value.go: -------------------------------------------------------------------------------- 1 | package states 2 | 3 | import ( 4 | "github.com/zclconf/go-cty/cty" 5 | ) 6 | 7 | // OutputValue represents the state of a particular output value. 8 | // 9 | // It is not valid to mutate an OutputValue object once it has been created. 10 | // Instead, create an entirely new OutputValue to replace the previous one. 11 | type OutputValue struct { 12 | Value cty.Value 13 | Sensitive bool 14 | } 15 | -------------------------------------------------------------------------------- /vendor/go.opencensus.io/go.mod: -------------------------------------------------------------------------------- 1 | module go.opencensus.io 2 | 3 | require ( 4 | github.com/golang/protobuf v1.3.1 5 | github.com/google/go-cmp v0.3.0 6 | github.com/hashicorp/golang-lru v0.5.1 7 | golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09 8 | golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd // indirect 9 | golang.org/x/text v0.3.2 // indirect 10 | google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb // indirect 11 | google.golang.org/grpc v1.20.1 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/crypto/internal/chacha20/chacha_noasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !ppc64le,!arm64,!s390x arm64,!go1.11 gccgo appengine 6 | 7 | package chacha20 8 | 9 | const ( 10 | bufSize = 64 11 | haveAsm = false 12 | ) 13 | 14 | func (*Cipher) xorKeyStreamAsm(dst, src []byte) { 15 | panic("not implemented") 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/fcntl_linux_32bit.go: -------------------------------------------------------------------------------- 1 | // +build linux,386 linux,arm linux,mips linux,mipsle 2 | 3 | // Copyright 2014 The Go Authors. All rights reserved. 4 | // Use of this source code is governed by a BSD-style 5 | // license that can be found in the LICENSE file. 6 | 7 | package unix 8 | 9 | func init() { 10 | // On 32-bit Linux systems, the fcntl syscall that matches Go's 11 | // Flock_t type is SYS_FCNTL64, not SYS_FCNTL. 12 | fcntl64Syscall = SYS_FCNTL64 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/google/uuid/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 Google Inc. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package uuid generates and inspects UUIDs. 6 | // 7 | // UUIDs are based on RFC 4122 and DCE 1.1: Authentication and Security 8 | // Services. 9 | // 10 | // A UUID is a 16 byte (128 bit) array. UUIDs may be used as keys to 11 | // maps or compared directly. 12 | package uuid 13 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-safetemp/README.md: -------------------------------------------------------------------------------- 1 | # go-safetemp 2 | [![Godoc](https://godoc.org/github.com/hashcorp/go-safetemp?status.svg)](https://godoc.org/github.com/hashicorp/go-safetemp) 3 | 4 | Functions for safely working with temporary directories and files. 5 | 6 | ## Why? 7 | 8 | The Go standard library provides the excellent `ioutil` package for 9 | working with temporary directories and files. This library builds on top 10 | of that to provide safe abstractions above that. 11 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/ext/typeexpr/doc.go: -------------------------------------------------------------------------------- 1 | // Package typeexpr extends HCL with a convention for describing HCL types 2 | // within configuration files. 3 | // 4 | // The type syntax is processed statically from a hcl.Expression, so it cannot 5 | // use any of the usual language operators. This is similar to type expressions 6 | // in statically-typed programming languages. 7 | // 8 | // variable "example" { 9 | // type = list(string) 10 | // } 11 | package typeexpr 12 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/file.go: -------------------------------------------------------------------------------- 1 | package hclsyntax 2 | 3 | import ( 4 | "github.com/hashicorp/hcl2/hcl" 5 | ) 6 | 7 | // File is the top-level object resulting from parsing a configuration file. 8 | type File struct { 9 | Body *Body 10 | Bytes []byte 11 | } 12 | 13 | func (f *File) AsHCLFile() *hcl.File { 14 | return &hcl.File{ 15 | Body: f.Body, 16 | Bytes: f.Bytes, 17 | 18 | // TODO: The Nav object, once we have an implementation of it 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcl/json/peeker.go: -------------------------------------------------------------------------------- 1 | package json 2 | 3 | type peeker struct { 4 | tokens []token 5 | pos int 6 | } 7 | 8 | func newPeeker(tokens []token) *peeker { 9 | return &peeker{ 10 | tokens: tokens, 11 | pos: 0, 12 | } 13 | } 14 | 15 | func (p *peeker) Peek() token { 16 | return p.tokens[p.pos] 17 | } 18 | 19 | func (p *peeker) Read() token { 20 | ret := p.tokens[p.pos] 21 | if ret.Type != tokenEOF { 22 | p.pos++ 23 | } 24 | return ret 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/pierrec/lz4/debug.go: -------------------------------------------------------------------------------- 1 | // +build lz4debug 2 | 3 | package lz4 4 | 5 | import ( 6 | "fmt" 7 | "os" 8 | "path/filepath" 9 | "runtime" 10 | ) 11 | 12 | const debugFlag = true 13 | 14 | func debug(args ...interface{}) { 15 | _, file, line, _ := runtime.Caller(1) 16 | file = filepath.Base(file) 17 | 18 | f := fmt.Sprintf("LZ4: %s:%d %s", file, line, args[0]) 19 | if f[len(f)-1] != '\n' { 20 | f += "\n" 21 | } 22 | fmt.Fprintf(os.Stderr, f, args[1:]...) 23 | } 24 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/cmd/golangci-lint/mod_version.go: -------------------------------------------------------------------------------- 1 | // +build go1.12 2 | 3 | package main 4 | 5 | import ( 6 | "fmt" 7 | "runtime/debug" 8 | ) 9 | 10 | //nolint:gochecknoinits 11 | func init() { 12 | if info, available := debug.ReadBuildInfo(); available { 13 | if date == "" && info.Main.Version != "(devel)" { 14 | version = info.Main.Version 15 | commit = fmt.Sprintf("(unknown, mod sum: %q)", info.Main.Sum) 16 | date = "(unknown)" 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/gohcl/types.go: -------------------------------------------------------------------------------- 1 | package gohcl 2 | 3 | import ( 4 | "reflect" 5 | 6 | "github.com/hashicorp/hcl2/hcl" 7 | ) 8 | 9 | var victimExpr hcl.Expression 10 | var victimBody hcl.Body 11 | 12 | var exprType = reflect.TypeOf(&victimExpr).Elem() 13 | var bodyType = reflect.TypeOf(&victimBody).Elem() 14 | var blockType = reflect.TypeOf((*hcl.Block)(nil)) 15 | var attrType = reflect.TypeOf((*hcl.Attribute)(nil)) 16 | var attrsType = reflect.TypeOf(hcl.Attributes(nil)) 17 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/command/format/format.go: -------------------------------------------------------------------------------- 1 | // Package format contains helpers for formatting various Terraform 2 | // structures for human-readabout output. 3 | // 4 | // This package is used by the official Terraform CLI in formatting any 5 | // output and is exported to encourage non-official frontends to mimic the 6 | // output formatting as much as possible so that text formats of Terraform 7 | // structures have a consistent look and feel. 8 | package format 9 | -------------------------------------------------------------------------------- /vendor/github.com/go-lintpack/lintpack/astwalk/func_decl_walker.go: -------------------------------------------------------------------------------- 1 | package astwalk 2 | 3 | import "go/ast" 4 | 5 | type funcDeclWalker struct { 6 | visitor FuncDeclVisitor 7 | } 8 | 9 | func (w *funcDeclWalker) WalkFile(f *ast.File) { 10 | if !w.visitor.EnterFile(f) { 11 | return 12 | } 13 | 14 | for _, decl := range f.Decls { 15 | decl, ok := decl.(*ast.FuncDecl) 16 | if !ok || !w.visitor.EnterFunc(decl) { 17 | continue 18 | } 19 | w.visitor.VisitFuncDecl(decl) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/go-tools/config/example.conf: -------------------------------------------------------------------------------- 1 | checks = ["all", "-ST1003", "-ST1014"] 2 | initialisms = ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", 3 | "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", 4 | "IP", "JSON", "QPS", "RAM", "RPC", "SLA", 5 | "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", 6 | "UDP", "UI", "GID", "UID", "UUID", "URI", 7 | "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", 8 | "XSS"] 9 | dot_import_whitelist = [] 10 | http_status_code_whitelist = ["200", "400", "404", "500"] 11 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/export_panic.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017, The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE.md file. 4 | 5 | // +build purego 6 | 7 | package cmp 8 | 9 | import "reflect" 10 | 11 | const supportAllowUnexported = false 12 | 13 | func retrieveUnexportedField(reflect.Value, reflect.StructField) reflect.Value { 14 | panic("retrieveUnexportedField is not implemented") 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-plugin/process.go: -------------------------------------------------------------------------------- 1 | package plugin 2 | 3 | import ( 4 | "time" 5 | ) 6 | 7 | // pidAlive checks whether a pid is alive. 8 | func pidAlive(pid int) bool { 9 | return _pidAlive(pid) 10 | } 11 | 12 | // pidWait blocks for a process to exit. 13 | func pidWait(pid int) error { 14 | ticker := time.NewTicker(1 * time.Second) 15 | defer ticker.Stop() 16 | 17 | for range ticker.C { 18 | if !pidAlive(pid) { 19 | break 20 | } 21 | } 22 | 23 | return nil 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcldec/block_labels.go: -------------------------------------------------------------------------------- 1 | package hcldec 2 | 3 | import ( 4 | "github.com/hashicorp/hcl2/hcl" 5 | ) 6 | 7 | type blockLabel struct { 8 | Value string 9 | Range hcl.Range 10 | } 11 | 12 | func labelsForBlock(block *hcl.Block) []blockLabel { 13 | ret := make([]blockLabel, len(block.Labels)) 14 | for i := range block.Labels { 15 | ret[i] = blockLabel{ 16 | Value: block.Labels[i], 17 | Range: block.LabelRanges[i], 18 | } 19 | } 20 | return ret 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/mitchellh/cli/go.mod: -------------------------------------------------------------------------------- 1 | module github.com/mitchellh/cli 2 | 3 | require ( 4 | github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310 5 | github.com/bgentry/speakeasy v0.1.0 6 | github.com/fatih/color v1.7.0 7 | github.com/hashicorp/go-multierror v1.0.0 // indirect 8 | github.com/mattn/go-colorable v0.0.9 // indirect 9 | github.com/mattn/go-isatty v0.0.3 10 | github.com/posener/complete v1.1.1 11 | golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc // indirect 12 | ) 13 | -------------------------------------------------------------------------------- /vendor/google.golang.org/appengine/socket/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2012 Google Inc. All rights reserved. 2 | // Use of this source code is governed by the Apache 2.0 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package socket provides outbound network sockets. 6 | // 7 | // This package is only required in the classic App Engine environment. 8 | // Applications running only in App Engine "flexible environment" should 9 | // use the standard library's net package. 10 | package socket 11 | -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/iam/.repo-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "iam", 3 | "name_pretty": "Cloud Identify and Access Management API", 4 | "product_documentation": "https://cloud.google.com/iam", 5 | "client_documentation": "https://godoc.org/cloud.google.com/go/iam", 6 | "release_level": "ga", 7 | "language": "go", 8 | "repo": "googleapis/google-cloud-go", 9 | "distribution_name": "cloud.google.com/go/iam", 10 | "api_id": "iam.googleapis.com", 11 | "requires_billing": true 12 | } 13 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/config/example.conf: -------------------------------------------------------------------------------- 1 | checks = ["all", "-ST1003", "-ST1014"] 2 | initialisms = ["ACL", "API", "ASCII", "CPU", "CSS", "DNS", 3 | "EOF", "GUID", "HTML", "HTTP", "HTTPS", "ID", 4 | "IP", "JSON", "QPS", "RAM", "RPC", "SLA", 5 | "SMTP", "SQL", "SSH", "TCP", "TLS", "TTL", 6 | "UDP", "UI", "GID", "UID", "UUID", "URI", 7 | "URL", "UTF8", "VM", "XML", "XMPP", "XSRF", 8 | "XSS", "SIP", "RTP"] 9 | dot_import_whitelist = [] 10 | http_status_code_whitelist = ["200", "400", "404", "500"] 11 | -------------------------------------------------------------------------------- /vendor/cloud.google.com/go/bigtable/.repo-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "bigtable", 3 | "name_pretty": "Cloud Bigtable API", 4 | "product_documentation": "https://cloud.google.com/bigtable", 5 | "client_documentation": "https://godoc.org/cloud.google.com/go/bigtable", 6 | "release_level": "ga", 7 | "language": "go", 8 | "repo": "googleapis/google-cloud-go", 9 | "distribution_name": "cloud.google.com/go/bigtable", 10 | "api_id": "bigtable.googleapis.com", 11 | "requires_billing": true 12 | } 13 | -------------------------------------------------------------------------------- /vendor/golang.org/x/lint/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Golint 2 | 3 | ## Before filing an issue: 4 | 5 | ### Are you having trouble building golint? 6 | 7 | Check you have the latest version of its dependencies. Run 8 | ``` 9 | go get -u golang.org/x/lint/golint 10 | ``` 11 | If you still have problems, consider searching for existing issues before filing a new issue. 12 | 13 | ## Before sending a pull request: 14 | 15 | Have you understood the purpose of golint? Make sure to carefully read `README`. 16 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/cpu_wasm.go: -------------------------------------------------------------------------------- 1 | // Copyright 2019 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build wasm 6 | 7 | package cpu 8 | 9 | // We're compiling the cpu package for an unknown (software-abstracted) CPU. 10 | // Make CacheLinePad an empty struct and hope that the usual struct alignment 11 | // rules are good enough. 12 | 13 | const cacheLineSize = 0 14 | 15 | func doinit() {} 16 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/lint/stats.go: -------------------------------------------------------------------------------- 1 | package lint 2 | 3 | const ( 4 | StateInitializing = 0 5 | StateGraph = 1 6 | StateProcessing = 2 7 | StateCumulative = 3 8 | ) 9 | 10 | type Stats struct { 11 | State uint32 12 | 13 | InitialPackages uint32 14 | TotalPackages uint32 15 | ProcessedPackages uint32 16 | ProcessedInitialPackages uint32 17 | Problems uint32 18 | ActiveWorkers uint32 19 | TotalWorkers uint32 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/request/request_context_1_6.go: -------------------------------------------------------------------------------- 1 | // +build !go1.7 2 | 3 | package request 4 | 5 | import "github.com/aws/aws-sdk-go/aws" 6 | 7 | // setContext updates the Request to use the passed in context for cancellation. 8 | // Context will also be used for request retry delay. 9 | // 10 | // Creates shallow copy of the http.Request with the WithContext method. 11 | func setRequestContext(r *Request, ctx aws.Context) { 12 | r.context = ctx 13 | r.HTTPRequest.Cancel = ctx.Done() 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/earlyconfig/module.go: -------------------------------------------------------------------------------- 1 | package earlyconfig 2 | 3 | import ( 4 | "github.com/hashicorp/terraform-config-inspect/tfconfig" 5 | "github.com/hashicorp/terraform-plugin-sdk/internal/tfdiags" 6 | ) 7 | 8 | // LoadModule loads some top-level metadata for the module in the given 9 | // directory. 10 | func LoadModule(dir string) (*tfconfig.Module, tfdiags.Diagnostics) { 11 | mod, diags := tfconfig.LoadModule(dir) 12 | return mod, wrapDiagnostics(diags) 13 | } 14 | -------------------------------------------------------------------------------- /vendor/github.com/client9/misspell/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | bin/ 3 | vendor/ 4 | 5 | # editor turds 6 | *~ 7 | *.gz 8 | *.bz2 9 | *.csv 10 | 11 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 12 | *.o 13 | *.a 14 | *.so 15 | 16 | # Folders 17 | _obj 18 | _test 19 | 20 | # Architecture specific extensions/prefixes 21 | *.[568vq] 22 | [568vq].out 23 | 24 | *.cgo1.go 25 | *.cgo2.c 26 | _cgo_defun.c 27 | _cgo_gotypes.go 28 | _cgo_export.* 29 | 30 | _testmain.go 31 | 32 | *.exe 33 | *.test 34 | *.prof 35 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/ineffassign/.gitignore: -------------------------------------------------------------------------------- 1 | ineffassign 2 | 3 | # Created by https://www.gitignore.io/api/go 4 | 5 | ### Go ### 6 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 7 | *.o 8 | *.a 9 | *.so 10 | 11 | # Folders 12 | _obj 13 | _test 14 | 15 | # Architecture specific extensions/prefixes 16 | *.[568vq] 17 | [568vq].out 18 | 19 | *.cgo1.go 20 | *.cgo2.c 21 | _cgo_defun.c 22 | _cgo_gotypes.go 23 | _cgo_export.* 24 | 25 | _testmain.go 26 | 27 | *.exe 28 | *.test 29 | *.prof 30 | 31 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_solaris.go: -------------------------------------------------------------------------------- 1 | // +build solaris 2 | // +build !appengine 3 | 4 | package isatty 5 | 6 | import ( 7 | "golang.org/x/sys/unix" 8 | ) 9 | 10 | // IsTerminal returns true if the given file descriptor is a terminal. 11 | // see: http://src.illumos.org/source/xref/illumos-gate/usr/src/lib/libbc/libc/gen/common/isatty.c 12 | func IsTerminal(fd uintptr) bool { 13 | var termio unix.Termio 14 | err := unix.IoctlSetTermio(int(fd), unix.TCGETA, &termio) 15 | return err == nil 16 | } 17 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/cpu/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 11 | // 12 | 13 | TEXT ·syscall6(SB),NOSPLIT,$0-88 14 | JMP syscall·syscall6(SB) 15 | 16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSyscall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_aix_ppc64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2018 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for ppc64, AIX are implemented in runtime/syscall_aix.go 11 | // 12 | 13 | TEXT ·syscall6(SB),NOSPLIT,$0-88 14 | JMP syscall·syscall6(SB) 15 | 16 | TEXT ·rawSyscall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSyscall6(SB) 18 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/cmd/staticcheck/README.md: -------------------------------------------------------------------------------- 1 | # staticcheck 2 | 3 | _staticcheck_ offers extensive analysis of Go code, covering a myriad 4 | of categories. It will detect bugs, suggest code simplifications, 5 | point out dead code, and more. 6 | 7 | ## Installation 8 | 9 | See [the main README](https://github.com/dominikh/go-tools#installation) for installation instructions. 10 | 11 | ## Documentation 12 | 13 | Detailed documentation can be found on 14 | [staticcheck.io](https://staticcheck.io/docs/). 15 | 16 | -------------------------------------------------------------------------------- /google/test-fixtures/cloudfunctions/pubsub_trigger.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Background Cloud Function to be triggered by Pub/Sub. 3 | * 4 | * @param {object} event The Cloud Functions event. 5 | * @param {function} callback The callback function. 6 | */ 7 | exports.helloPubSub = function (event, callback) { 8 | const pubsubMessage = event.data; 9 | const name = pubsubMessage.data ? Buffer.from(pubsubMessage.data, 'base64').toString() : 'World'; 10 | 11 | console.log(`Hello, ${name}!`); 12 | 13 | callback(); 14 | }; -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/request/http_request.go: -------------------------------------------------------------------------------- 1 | package request 2 | 3 | import ( 4 | "io" 5 | "net/http" 6 | "net/url" 7 | ) 8 | 9 | func copyHTTPRequest(r *http.Request, body io.ReadCloser) *http.Request { 10 | req := new(http.Request) 11 | *req = *r 12 | req.URL = &url.URL{} 13 | *req.URL = *r.URL 14 | req.Body = body 15 | 16 | req.Header = http.Header{} 17 | for k, v := range r.Header { 18 | for _, vv := range v { 19 | req.Header.Add(k, vv) 20 | } 21 | } 22 | 23 | return req 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/aws/request/request_context.go: -------------------------------------------------------------------------------- 1 | // +build go1.7 2 | 3 | package request 4 | 5 | import "github.com/aws/aws-sdk-go/aws" 6 | 7 | // setContext updates the Request to use the passed in context for cancellation. 8 | // Context will also be used for request retry delay. 9 | // 10 | // Creates shallow copy of the http.Request with the WithContext method. 11 | func setRequestContext(r *Request, ctx aws.Context) { 12 | r.context = ctx 13 | r.HTTPRequest = r.HTTPRequest.WithContext(ctx) 14 | } 15 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/misspell/.gitignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | bin/ 3 | vendor/ 4 | 5 | # editor turds 6 | *~ 7 | *.gz 8 | *.bz2 9 | *.csv 10 | 11 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 12 | *.o 13 | *.a 14 | *.so 15 | 16 | # Folders 17 | _obj 18 | _test 19 | 20 | # Architecture specific extensions/prefixes 21 | *.[568vq] 22 | [568vq].out 23 | 24 | *.cgo1.go 25 | *.cgo2.c 26 | _cgo_defun.c 27 | _cgo_gotypes.go 28 | _cgo_export.* 29 | 30 | _testmain.go 31 | 32 | *.exe 33 | *.test 34 | *.prof 35 | -------------------------------------------------------------------------------- /vendor/github.com/google/go-cmp/cmp/internal/diff/debug_disable.go: -------------------------------------------------------------------------------- 1 | // Copyright 2017, The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE.md file. 4 | 5 | // +build !cmp_debug 6 | 7 | package diff 8 | 9 | var debug debugger 10 | 11 | type debugger struct{} 12 | 13 | func (debugger) Begin(_, _ int, f EqualFunc, _, _ *EditScript) EqualFunc { 14 | return f 15 | } 16 | func (debugger) Update() {} 17 | func (debugger) Finish() {} 18 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/simple/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to gosimple 2 | 3 | ## Before filing an issue: 4 | 5 | ### Are you having trouble building gosimple? 6 | 7 | Check you have the latest version of its dependencies. Run 8 | ``` 9 | go get -u honnef.co/go/tools/simple 10 | ``` 11 | If you still have problems, consider searching for existing issues before filing a new issue. 12 | 13 | ## Before sending a pull request: 14 | 15 | Have you understood the purpose of gosimple? Make sure to carefully read `README`. 16 | -------------------------------------------------------------------------------- /examples/example-versioned-module/ip/main.tf: -------------------------------------------------------------------------------- 1 | resource "google_compute_address" "ip_address" { 2 | # We'll only generate this block if the value of 3 | # has_labels is 0! Effectively an if statement. 4 | count = 1 - local.has_labels 5 | 6 | name = var.name 7 | } 8 | 9 | resource "google_compute_address" "ip_address_beta" { 10 | # And this block is only present if we have 11 | # at least one entry, effectively an elif. 12 | count = local.has_labels 13 | 14 | name = var.name 15 | labels = var.labels 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/lint-1/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to Golint 2 | 3 | ## Before filing an issue: 4 | 5 | ### Are you having trouble building golint? 6 | 7 | Check you have the latest version of its dependencies. Run 8 | ``` 9 | go get -u github.com/golangci/lint-1/golint 10 | ``` 11 | If you still have problems, consider searching for existing issues before filing a new issue. 12 | 13 | ## Before sending a pull request: 14 | 15 | Have you understood the purpose of golint? Make sure to carefully read `README`. 16 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hil/ast/stack.go: -------------------------------------------------------------------------------- 1 | package ast 2 | 3 | // Stack is a stack of Node. 4 | type Stack struct { 5 | stack []Node 6 | } 7 | 8 | func (s *Stack) Len() int { 9 | return len(s.stack) 10 | } 11 | 12 | func (s *Stack) Push(n Node) { 13 | s.stack = append(s.stack, n) 14 | } 15 | 16 | func (s *Stack) Pop() Node { 17 | x := s.stack[len(s.stack)-1] 18 | s.stack[len(s.stack)-1] = nil 19 | s.stack = s.stack[:len(s.stack)-1] 20 | return x 21 | } 22 | 23 | func (s *Stack) Reset() { 24 | s.stack = nil 25 | } 26 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_linux.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | // +build !appengine,!ppc64,!ppc64le 3 | 4 | package isatty 5 | 6 | import ( 7 | "syscall" 8 | "unsafe" 9 | ) 10 | 11 | const ioctlReadTermios = syscall.TCGETS 12 | 13 | // IsTerminal return true if the file descriptor is terminal. 14 | func IsTerminal(fd uintptr) bool { 15 | var termios syscall.Termios 16 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0) 17 | return err == 0 18 | } 19 | -------------------------------------------------------------------------------- /vendor/google.golang.org/api/internal/gensupport/doc.go: -------------------------------------------------------------------------------- 1 | // Copyright 2016 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // Package gensupport is an internal implementation detail used by code 6 | // generated by the google-api-go-generator tool. 7 | // 8 | // This package may be modified at any time without regard for backwards 9 | // compatibility. It should not be used directly by API users. 10 | package gensupport 11 | -------------------------------------------------------------------------------- /vendor/github.com/gobwas/glob/match/nothing.go: -------------------------------------------------------------------------------- 1 | package match 2 | 3 | import ( 4 | "fmt" 5 | ) 6 | 7 | type Nothing struct{} 8 | 9 | func NewNothing() Nothing { 10 | return Nothing{} 11 | } 12 | 13 | func (self Nothing) Match(s string) bool { 14 | return len(s) == 0 15 | } 16 | 17 | func (self Nothing) Index(s string) (int, []int) { 18 | return 0, segments0 19 | } 20 | 21 | func (self Nothing) Len() int { 22 | return lenZero 23 | } 24 | 25 | func (self Nothing) String() string { 26 | return fmt.Sprintf("") 27 | } 28 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/go-misc/deadcode/README.md: -------------------------------------------------------------------------------- 1 | # deadcode 2 | 3 | `deadcode` is a very simple utility which detects unused declarations in a Go package. 4 | 5 | ## Usage 6 | ``` 7 | deadcode [-test] [packages] 8 | 9 | -test Include test files 10 | packages A list of packages using the same conventions as the go tool 11 | ``` 12 | 13 | ## Limitations 14 | 15 | * Self-referential unused code is not currently reported 16 | * A single package can be tested at a time 17 | * Unused methods are not reported 18 | 19 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/initwd/inode_freebsd.go: -------------------------------------------------------------------------------- 1 | // +build freebsd 2 | 3 | package initwd 4 | 5 | import ( 6 | "fmt" 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | // lookup the inode of a file on posix systems 12 | func inode(path string) (uint64, error) { 13 | stat, err := os.Stat(path) 14 | if err != nil { 15 | return 0, err 16 | } 17 | if st, ok := stat.Sys().(*syscall.Stat_t); ok { 18 | return uint64(st.Ino), nil 19 | } 20 | return 0, fmt.Errorf("could not determine file inode") 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_appengine.go: -------------------------------------------------------------------------------- 1 | // +build appengine 2 | 3 | package isatty 4 | 5 | // IsTerminal returns true if the file descriptor is terminal which 6 | // is always false on on appengine classic which is a sandboxed PaaS. 7 | func IsTerminal(fd uintptr) bool { 8 | return false 9 | } 10 | 11 | // IsCygwinTerminal() return true if the file descriptor is a cygwin or msys2 12 | // terminal. This is also always false on this environment. 13 | func IsCygwinTerminal(fd uintptr) bool { 14 | return false 15 | } 16 | -------------------------------------------------------------------------------- /vendor/github.com/terraform-providers/terraform-provider-random/random/resource_string.go: -------------------------------------------------------------------------------- 1 | package random 2 | 3 | import ( 4 | "github.com/hashicorp/terraform-plugin-sdk/helper/schema" 5 | ) 6 | 7 | func resourceString() *schema.Resource { 8 | return &schema.Resource{ 9 | Create: createStringFunc(false), 10 | Read: readNil, 11 | Delete: schema.RemoveFromState, 12 | MigrateState: resourceRandomStringMigrateState, 13 | SchemaVersion: 1, 14 | Schema: stringSchemaV1(false), 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /vendor/github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi/error.go: -------------------------------------------------------------------------------- 1 | package eventstreamapi 2 | 3 | import "fmt" 4 | 5 | type messageError struct { 6 | code string 7 | msg string 8 | } 9 | 10 | func (e messageError) Code() string { 11 | return e.code 12 | } 13 | 14 | func (e messageError) Message() string { 15 | return e.msg 16 | } 17 | 18 | func (e messageError) Error() string { 19 | return fmt.Sprintf("%s: %s", e.code, e.msg) 20 | } 21 | 22 | func (e messageError) OrigErr() error { 23 | return nil 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/gosec/.gitignore: -------------------------------------------------------------------------------- 1 | # transient files 2 | /image 3 | 4 | # Compiled Object files, Static and Dynamic libs (Shared Objects) 5 | *.o 6 | *.a 7 | *.so 8 | *.swp 9 | /gosec 10 | 11 | # Folders 12 | _obj 13 | _test 14 | vendor 15 | dist 16 | 17 | # Architecture specific extensions/prefixes 18 | *.[568vq] 19 | [568vq].out 20 | 21 | *.cgo1.go 22 | *.cgo2.c 23 | _cgo_defun.c 24 | _cgo_gotypes.go 25 | _cgo_export.* 26 | 27 | _testmain.go 28 | 29 | *.exe 30 | *.test 31 | *.prof 32 | 33 | .DS_Store 34 | 35 | .vscode 36 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/go-getter/storage.go: -------------------------------------------------------------------------------- 1 | package getter 2 | 3 | // Storage is an interface that knows how to lookup downloaded directories 4 | // as well as download and update directories from their sources into the 5 | // proper location. 6 | type Storage interface { 7 | // Dir returns the directory on local disk where the directory source 8 | // can be loaded from. 9 | Dir(string) (string, bool, error) 10 | 11 | // Get will download and optionally update the given directory. 12 | Get(string, string, bool) error 13 | } 14 | -------------------------------------------------------------------------------- /vendor/golang.org/x/sys/unix/asm_solaris_amd64.s: -------------------------------------------------------------------------------- 1 | // Copyright 2014 The Go Authors. All rights reserved. 2 | // Use of this source code is governed by a BSD-style 3 | // license that can be found in the LICENSE file. 4 | 5 | // +build !gccgo 6 | 7 | #include "textflag.h" 8 | 9 | // 10 | // System calls for amd64, Solaris are implemented in runtime/syscall_solaris.go 11 | // 12 | 13 | TEXT ·sysvicall6(SB),NOSPLIT,$0-88 14 | JMP syscall·sysvicall6(SB) 15 | 16 | TEXT ·rawSysvicall6(SB),NOSPLIT,$0-88 17 | JMP syscall·rawSysvicall6(SB) 18 | -------------------------------------------------------------------------------- /examples/shared-vpc/variables.tf: -------------------------------------------------------------------------------- 1 | variable "region" { 2 | default = "us-central1" 3 | } 4 | 5 | variable "region_zone" { 6 | default = "us-central1-f" 7 | } 8 | 9 | variable "org_id" { 10 | description = "The ID of the Google Cloud Organization." 11 | } 12 | 13 | variable "billing_account_id" { 14 | description = "The ID of the associated billing account (optional)." 15 | } 16 | 17 | variable "credentials_file_path" { 18 | description = "Location of the credentials to use." 19 | default = "~/.gcloud/Terraform.json" 20 | } 21 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/go-tools/simple/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to gosimple 2 | 3 | ## Before filing an issue: 4 | 5 | ### Are you having trouble building gosimple? 6 | 7 | Check you have the latest version of its dependencies. Run 8 | ``` 9 | go get -u github.com/golangci/go-tools/simple 10 | ``` 11 | If you still have problems, consider searching for existing issues before filing a new issue. 12 | 13 | ## Before sending a pull request: 14 | 15 | Have you understood the purpose of gosimple? Make sure to carefully read `README`. 16 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_bsd.go: -------------------------------------------------------------------------------- 1 | // +build darwin freebsd openbsd netbsd dragonfly 2 | // +build !appengine 3 | 4 | package isatty 5 | 6 | import ( 7 | "syscall" 8 | "unsafe" 9 | ) 10 | 11 | const ioctlReadTermios = syscall.TIOCGETA 12 | 13 | // IsTerminal return true if the file descriptor is terminal. 14 | func IsTerminal(fd uintptr) bool { 15 | var termios syscall.Termios 16 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0) 17 | return err == 0 18 | } 19 | -------------------------------------------------------------------------------- /vendor/golang.org/x/lint/golint/importcomment.go: -------------------------------------------------------------------------------- 1 | // Copyright (c) 2018 The Go Authors. All rights reserved. 2 | // 3 | // Use of this source code is governed by a BSD-style 4 | // license that can be found in the LICENSE file or at 5 | // https://developers.google.com/open-source/licenses/bsd. 6 | 7 | // +build go1.12 8 | 9 | // Require use of the correct import path only for Go 1.12+ users, so 10 | // any breakages coincide with people updating their CI configs or 11 | // whatnot. 12 | 13 | package main // import "golang.org/x/lint/golint" 14 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/staticcheck/CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing to staticcheck 2 | 3 | ## Before filing an issue: 4 | 5 | ### Are you having trouble building staticcheck? 6 | 7 | Check you have the latest version of its dependencies. Run 8 | ``` 9 | go get -u honnef.co/go/tools/staticcheck 10 | ``` 11 | If you still have problems, consider searching for existing issues before filing a new issue. 12 | 13 | ## Before sending a pull request: 14 | 15 | Have you understood the purpose of staticcheck? Make sure to carefully read `README`. 16 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/gosec/.goreleaser.yml: -------------------------------------------------------------------------------- 1 | --- 2 | project_name: gosec 3 | 4 | release: 5 | github: 6 | owner: securego 7 | name: gosec 8 | 9 | builds: 10 | - main : ./cmd/gosec/ 11 | binary: gosec 12 | goos: 13 | - darwin 14 | - linux 15 | - windows 16 | goarch: 17 | - amd64 18 | ldflags: -X main.Version={{.Version}} -X main.GitTag={{.Tag}} -X main.BuildDate={{.Date}} 19 | env: 20 | - CGO_ENABLED=0 21 | 22 | archive: 23 | files: 24 | - README.md 25 | - LICENSE.txt 26 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/hcl2/hcl/hclsyntax/generate.go: -------------------------------------------------------------------------------- 1 | package hclsyntax 2 | 3 | //go:generate go run expression_vars_gen.go 4 | //go:generate ruby unicode2ragel.rb --url=http://www.unicode.org/Public/9.0.0/ucd/DerivedCoreProperties.txt -m UnicodeDerived -p ID_Start,ID_Continue -o unicode_derived.rl 5 | //go:generate ragel -Z scan_tokens.rl 6 | //go:generate gofmt -w scan_tokens.go 7 | //go:generate ragel -Z scan_string_lit.rl 8 | //go:generate gofmt -w scan_string_lit.go 9 | //go:generate stringer -type TokenType -output token_type_string.go 10 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/helper/structure/suppress_json_diff.go: -------------------------------------------------------------------------------- 1 | package structure 2 | 3 | import ( 4 | "reflect" 5 | 6 | "github.com/hashicorp/terraform-plugin-sdk/helper/schema" 7 | ) 8 | 9 | func SuppressJsonDiff(k, old, new string, d *schema.ResourceData) bool { 10 | oldMap, err := ExpandJsonFromString(old) 11 | if err != nil { 12 | return false 13 | } 14 | 15 | newMap, err := ExpandJsonFromString(new) 16 | if err != nil { 17 | return false 18 | } 19 | 20 | return reflect.DeepEqual(oldMap, newMap) 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/configs/configload/inode_freebsd.go: -------------------------------------------------------------------------------- 1 | // +build freebsd 2 | 3 | package configload 4 | 5 | import ( 6 | "fmt" 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | // lookup the inode of a file on posix systems 12 | func inode(path string) (uint64, error) { 13 | stat, err := os.Stat(path) 14 | if err != nil { 15 | return 0, err 16 | } 17 | if st, ok := stat.Sys().(*syscall.Stat_t); ok { 18 | return uint64(st.Ino), nil 19 | } 20 | return 0, fmt.Errorf("could not determine file inode") 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/terraform/ui_output_mock.go: -------------------------------------------------------------------------------- 1 | package terraform 2 | 3 | import "sync" 4 | 5 | // MockUIOutput is an implementation of UIOutput that can be used for tests. 6 | type MockUIOutput struct { 7 | sync.Mutex 8 | OutputCalled bool 9 | OutputMessage string 10 | OutputFn func(string) 11 | } 12 | 13 | func (o *MockUIOutput) Output(v string) { 14 | o.Lock() 15 | defer o.Unlock() 16 | o.OutputCalled = true 17 | o.OutputMessage = v 18 | if o.OutputFn != nil { 19 | o.OutputFn(v) 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /vendor/github.com/mattn/go-isatty/isatty_linux_ppc64x.go: -------------------------------------------------------------------------------- 1 | // +build linux 2 | // +build ppc64 ppc64le 3 | 4 | package isatty 5 | 6 | import ( 7 | "unsafe" 8 | 9 | syscall "golang.org/x/sys/unix" 10 | ) 11 | 12 | const ioctlReadTermios = syscall.TCGETS 13 | 14 | // IsTerminal return true if the file descriptor is terminal. 15 | func IsTerminal(fd uintptr) bool { 16 | var termios syscall.Termios 17 | _, _, err := syscall.Syscall6(syscall.SYS_IOCTL, fd, ioctlReadTermios, uintptr(unsafe.Pointer(&termios)), 0, 0, 0) 18 | return err == 0 19 | } 20 | -------------------------------------------------------------------------------- /vendor/honnef.co/go/tools/staticcheck/buildtag.go: -------------------------------------------------------------------------------- 1 | package staticcheck 2 | 3 | import ( 4 | "go/ast" 5 | "strings" 6 | 7 | . "honnef.co/go/tools/lint/lintdsl" 8 | ) 9 | 10 | func buildTags(f *ast.File) [][]string { 11 | var out [][]string 12 | for _, line := range strings.Split(Preamble(f), "\n") { 13 | if !strings.HasPrefix(line, "+build ") { 14 | continue 15 | } 16 | line = strings.TrimSpace(strings.TrimPrefix(line, "+build ")) 17 | fields := strings.Fields(line) 18 | out = append(out, fields) 19 | } 20 | return out 21 | } 22 | -------------------------------------------------------------------------------- /examples/vpn/README.md: -------------------------------------------------------------------------------- 1 | # Google Compute Engine VPN Example 2 | 3 | This example joins two GCE networks via VPN. The firewall rules have been set up 4 | so that you can create an instance in each network and have them communicate 5 | using their internal IP addresses. 6 | 7 | See this [example](https://cloud.google.com/compute/docs/vpn) for more 8 | information. 9 | 10 | Run this example using 11 | 12 | ``` 13 | terraform apply \ 14 | -var="region1=us-central1" \ 15 | -var="region2=europe-west1" \ 16 | -var="project=my-project-id-123" 17 | ``` 18 | -------------------------------------------------------------------------------- /vendor/github.com/golangci/golangci-lint/cmd/golangci-lint/main.go: -------------------------------------------------------------------------------- 1 | package main 2 | 3 | import ( 4 | "fmt" 5 | "os" 6 | 7 | "github.com/golangci/golangci-lint/pkg/commands" 8 | ) 9 | 10 | var ( 11 | // Populated by goreleaser during build 12 | version = "master" 13 | commit = "?" 14 | date = "" 15 | ) 16 | 17 | func main() { 18 | e := commands.NewExecutor(version, commit, date) 19 | 20 | if err := e.Execute(); err != nil { 21 | fmt.Fprintf(os.Stderr, "failed executing command with error %v\n", err) 22 | os.Exit(1) 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/github.com/hashicorp/terraform-plugin-sdk/internal/initwd/inode.go: -------------------------------------------------------------------------------- 1 | // +build linux darwin openbsd netbsd solaris dragonfly 2 | 3 | package initwd 4 | 5 | import ( 6 | "fmt" 7 | "os" 8 | "syscall" 9 | ) 10 | 11 | // lookup the inode of a file on posix systems 12 | func inode(path string) (uint64, error) { 13 | stat, err := os.Stat(path) 14 | if err != nil { 15 | return 0, err 16 | } 17 | if st, ok := stat.Sys().(*syscall.Stat_t); ok { 18 | return st.Ino, nil 19 | } 20 | return 0, fmt.Errorf("could not determine file inode") 21 | } 22 | --------------------------------------------------------------------------------