Commit Graph

116 Commits (5e282683bfcd819fc3eacd94de424924d14701b5)

Author SHA1 Message Date
Martin Atkins a67182543c Nicer error when list/map assigned to string argument.
11 years ago
Paul Hinze 2a179d1065 helper/schema: ValidateFunc support for maps
11 years ago
Panagiotis Moustafellos e4845f75cc removed extra parentheses
11 years ago
Martin Atkins cc8e8a55de helper/schema: Default hashing function for sets
11 years ago
Anthony Scalisi 198e1a5186 remove various typos
11 years ago
Mitchell Hashimoto 0100d4139b helper/schema: clean up style
11 years ago
Mitchell Hashimoto 6e509aedcb helper/schema: diff should include removed set items [GH-1823]
11 years ago
Radek Simko 6fdbca8e58 Merge pull request #2466 from TimeIncOSS/f-schema-field-name-validate
11 years ago
Radek Simko 92db4802b6 schema: Add field name to ValidateFunc
11 years ago
Mitchell Hashimoto 4f391902a0 helper/schema: validate objects are objects [GH-2166]
11 years ago
Paul Hinze a4912cc51f helper/schema: limit ValidateFunc to primitives for now
11 years ago
Paul Hinze 49352db26f helper/schema: skip ValidateFunc on other errors
11 years ago
Paul Hinze 61fee6735d helper/schema: ValidateFunc
11 years ago
Sam Boyer b82bd0c280 Condense switch fallthroughs into expr lists
11 years ago
Paul Hinze 1e3d1b07e6 helper/schema: validate ConflictsWith against top-level
11 years ago
Mitchell Hashimoto 707aa36aec helper/schema: only use ~ on first char of code
11 years ago
Mitchell Hashimoto 1f46bc1926 helper/schema: validate unknown fields with computed values [GH-1507]
11 years ago
Mitchell Hashimoto 3176e5b44a Merge pull request #1595 from TimeIncOSS/aws-account-protection
11 years ago
Mitchell Hashimoto 54e3e6104e Merge pull request #1594 from TimeIncOSS/schema-conflicts-with
11 years ago
Mitchell Hashimoto 51951d68f4 helper/schema: change diff logic around maps to fix case #57 and #44
11 years ago
Radek Simko 150fd00932 AWS account ID protection added
11 years ago
Radek Simko 34f48b3e06 Add schema.ConflictsWith[]
11 years ago
Radek Simko e0df74c863 Add schema.ConflictsWith[]
11 years ago
Paul Hinze ef70c8cae5 helper/schema: allow Schema attrs to be Removed
11 years ago
Paul Hinze 888f16d2d3 helper/schema: allow Schema attrs to be Deprecated
11 years ago
Mitchell Hashimoto 17680bb7ff helper/schema: some more test cases, revert some weird behavior from
12 years ago
Mitchell Hashimoto 659a77c6ae helper/schema: validate subresources more effectively
12 years ago
Mitchell Hashimoto fa7f496bef helper/schema: zero value of a set should be empty
12 years ago
Mitchell Hashimoto 5c06cc386a helper/schema: empty map values should show up in diff [GH-968]
12 years ago
Mitchell Hashimoto dbfb95fcd5 helper/schema: show in diff when no config is going to empty set
12 years ago
Mitchell Hashimoto bcdec738d4 helper/schema: default the new value to zero only for the decode
12 years ago
Mitchell Hashimoto b778a65a83 helper/schema: diff of zero value in state with lack of value should not
12 years ago
Clint Shryock 4c7b732dad typo
12 years ago
INADA Naoki 33aa9d3ee8 Fix stringer error on helper/schema/schema.go
12 years ago
Dave Cunningham 18c26cb2eb Add some missing Float cases
12 years ago
Paul Hinze 5d4e69cc80 helper/schema: apply schema defaults at the field level when reading from config
12 years ago
Seth Vargo 072a1cf353 Read the "standard" AWS environment variables
12 years ago
Jeff Mitchell f2bd1f45ab Move duplicated envDefaultFunc out of each provider and into Schema.
12 years ago
Mitchell Hashimoto 241fc5bb39 helper/schema: diff floats properly
12 years ago
Mitchell Hashimoto 5e8b300ca1 update CHANGELOG
12 years ago
Emil Hessman 2bc612e6f8 helper/schema: fix panic when validating composite type
12 years ago
Mitchell Hashimoto cf94a79955 helper/schema: add TypeFloat and Zero value
12 years ago
Mitchell Hashimoto 689cbc8b5b helper/schema: generate strings for ValueType
12 years ago
Mitchell Hashimoto 3cbcafe989 helper/schema: remove unused field
12 years ago
Mitchell Hashimoto 3c1b55a75f helper/schema: use the field reader/writer for state
12 years ago
Mitchell Hashimoto b4bf813151 helper/schema: too big to fail
12 years ago
Mitchell Hashimoto f416e0edf0 helper/schema: FieldReader and MapFieldReader
12 years ago
Mitchell Hashimoto df05483cf6 helper/schema: test pass from SvH
12 years ago
Mitchell Hashimoto 913f9a923e helper/schema: remove unnecessary code
12 years ago
Mitchell Hashimoto e5877543b2 helper/schema: track map element counts
12 years ago