terraform/lang/funcs
Brian Flad d48d9ed766
lang/funcs: Add fileset function
Reference: https://github.com/hashicorp/terraform/issues/16697

Enumerates a set of regular file names from a given glob pattern. Implemented via the Go stdlib `path/filepath.Glob()` functionality. Notably, stdlib does not support `**` or `{}` extended patterns. See also: https://github.com/golang/go/issues/11862

To support the extended glob patterns, it will require adding a dependency on a third party library or adding our own matching code.
2019-08-20 04:50:01 -04:00
..
testdata lang/funcs: templatefile function 2018-12-21 08:06:14 -08:00
cidr.go port compact function 2018-10-16 18:49:20 -07:00
cidr_test.go port cidr functions 2018-10-16 18:49:20 -07:00
collection.go lang/funcs: lookup() can work with maps of lists, maps and objects (#22269) 2019-08-01 15:52:52 -04:00
collection_test.go lang/funcs: lookup() can work with maps of lists, maps and objects (#22269) 2019-08-01 15:52:52 -04:00
conversion.go lang/funcs: Type conversion functions 2019-01-17 10:01:47 -08:00
conversion_test.go lang/funcs: Type conversion functions 2019-01-17 10:01:47 -08:00
crypto.go remove satori/go.uuid in favor of google/uuid 2019-08-09 15:09:41 -04:00
crypto_test.go lang/funcs: New "uuidv5" function 2019-06-07 14:38:22 -07:00
datetime.go cleanup comments for nicer godocs 2018-10-16 18:49:20 -07:00
datetime_test.go cleanup comments for nicer godocs 2018-10-16 18:49:20 -07:00
encoding.go base64decode: check that the decoded (not encoded) string is valid UTF-8 2018-10-16 18:49:20 -07:00
encoding_test.go base64decodeFunc now checks for valid UTF-8 2018-10-16 18:49:20 -07:00
filesystem.go lang/funcs: Add fileset function 2019-08-20 04:50:01 -04:00
filesystem_test.go lang/funcs: Add fileset function 2019-08-20 04:50:01 -04:00
number.go porting functions 2018-10-16 18:49:20 -07:00
number_test.go porting functions 2018-10-16 18:49:20 -07:00
string.go lang/funcs: Fix panic in "join" when an element is null 2019-02-07 14:35:13 -08:00
string_test.go porting many functions 2018-10-16 18:49:20 -07:00