Commit Graph

52 Commits (edaa4bbc82a8aadc9a8098e69070e659e18bc4fe)

Author SHA1 Message Date
Radek Simko edaa4bbc82
lang: Add fileexists function
8 years ago
Kristin Laemmert fd77e56fd6 lookup will return a tuple type when passed an object
8 years ago
Kristin Laemmert f54ee830d3 lang/funcs: update values to accept object types
8 years ago
Kristin Laemmert 4ec904bca7 funcs/lang lookup: validate that argument is map or object type
8 years ago
Kristin Laemmert d1d0ede069 lang/funcs: return default value if provided when object lookup fails to find attr
8 years ago
Kristin Laemmert 46e168a682 lang/funcs: update lookup() to accept object-typed values for "map" arg
8 years ago
Martin Atkins c990c9f36d lang/funcs: Don't panic if coalescelist gets an unknown list
8 years ago
Martin Atkins db58b88c2d lang/funcs: short-circuit with unknown index and tuple collection
8 years ago
Martin Atkins efe631d9ec lang/funcs: in "sort", don't panic if given a null string
8 years ago
Martin Atkins 479c6b2466 move "configschema" from "config" to "configs"
8 years ago
Martin Atkins ccd90bcf35 lang/funcs: never include the private key in error output
8 years ago
Kristin Laemmert c23a971ed1 minor fixes
8 years ago
Kristin Laemmert 0dbecc54c0 functions: ValuesFunc - cleanup return type
8 years ago
Kristin Laemmert a213c4a648 functions: add tests and support for unknown values
8 years ago
Kristin Laemmert d802d5c624 functions: pr feedback fixes
8 years ago
Kristin Laemmert ff4b3d763b functions: fix lookup()'s handling of numberical defaults
8 years ago
Kristin Laemmert 4f5c03339a functions: ZipmapFunc
8 years ago
Kristin Laemmert 605e23db6b various code review fixes
8 years ago
Kristin Laemmert 6463dd90e9 functions: TransposeFunc, SliceFunc
8 years ago
Kristin Laemmert 30671d85ad functions: MergeFunc
8 years ago
Kristin Laemmert aecd7b2e62 functions: LookupFunc
8 years ago
Kristin Laemmert 4d8c398f8e functions: KeysFunc
8 years ago
Kristin Laemmert 21daabe680 functions: MapFunc
8 years ago
Kristin Laemmert da02e0da4d functions: ListFunc
8 years ago
Kristin Laemmert 529c2c3cc9 functions: FlattenFunc
8 years ago
Kristin Laemmert 4dd3ffc127 porting matchkeys
8 years ago
Kristin Laemmert b979053361 general cleanup - addressing code review
8 years ago
Kristin Laemmert 498ffbf77b adding some test cases and tweaking implementation to address them
8 years ago
Kristin Laemmert 0cbcd75ebb port distinct and chunklist functions
8 years ago
Kristin Laemmert 8aac7587f7 port index and contains functions
8 years ago
Kristin Laemmert e697e7d733 port compact function
8 years ago
Kristin Laemmert 1901d5d184 port coalescelist function
8 years ago
Kristin Laemmert 04ac87747c base64decode: check that the decoded (not encoded) string is valid UTF-8
8 years ago
Kristin Laemmert 74f2d58b8b base64decode: check that the decoded (not encoded) string is valid UTF-8
8 years ago
Kristin Laemmert 6171ba3b8a base64decodeFunc now checks for valid UTF-8
8 years ago
Kristin Laemmert b6d3d69d3a port cidr functions
8 years ago
Kristin Laemmert 10ef61c71c porting many functions
8 years ago
Kristin Laemmert 602b59cdc4 porting functions
8 years ago
Kristin Laemmert 4ad3676934 port ceil function
8 years ago
Kristin Laemmert c4f4dddff5 porting crypto functions
8 years ago
Kristin Laemmert eb1d8b7909 cleanup comments for nicer godocs
8 years ago
Kristin Laemmert 9aa9b18658 porting crypto functions
8 years ago
Kristin Laemmert 1a5299efcb porting encoding functions
8 years ago
Kristin Laemmert d4e703a5c1 base64decode
8 years ago
Kristin Laemmert e30cb1a7dc typo
8 years ago
Kristin Laemmert a187c92f0e implement datetime functions
8 years ago
Kristin Laemmert 755b1e2497 implement pathexpand
8 years ago
Kristin Laemmert 2a2ffb6ef4 implement dirname function
8 years ago
Kristin Laemmert 8c1f0842b0 implement basename function
8 years ago
Martin Atkins 129f5fe74d lang/funcs: port some of Terraform's built-in functions
8 years ago