annelausf
188e35fbfd
Added code for fields with dots(.) in their names work as needed ( #4591 )
...
* Added code for fields with dots(.) in their names work as needed
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fixed imports
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Removed comments
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fix filter method
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Fixed failing tests
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Remove comments
Add co-author to PR.
Co-authored-by: sarjamil <sjamil@salesforce.com >
* Add co-author to PR.
Co-authored-by: sarjamil sjamil@salesforce.com
Co-authored-by: sarjamil <sjamil@salesforce.com >
2022-05-02 14:30:33 -07:00
Katrina Verey
71bf0d5d14
Update full linter list and enable some easily resolved new ones
2022-03-31 11:37:26 -04:00
Katrina Verey
14947e449b
Address new linter complaints
2022-03-31 11:37:26 -04:00
Anna Song
497d2ee031
Added test for bug 4487: cannot parse keys with dots
2022-03-25 17:45:55 -04:00
Rafael Leal
97de780feb
Fix error during expansion of !!merge <<: anchor tags ( #4383 )
...
* WIP
* Fix merge corner cases
* Add test for explicit !!merge tag
* Fix tests
* Cleanup
* Cleanup
* Fix deanchoring lists
* Add test case for keeping comments
* Add MapEntrySetter and fix json marshalling after deanchoring
* Keep duplicated keys
* Move MergeTag definition to yaml alias
* Remove go-spew from api
* Add support for sequence nodes on merge tags
* Add docstring to MapEntrySetter.Key
* Add docstring to MapEntrySetter struct
* Add tests to MapEntrySetter
* Fix duplicate merge key
* Revert whitespace changes on forked go-yaml
* Remove AssocMapEntry function
* Refactoring merge order
* Return errors on VisitFields and PipeE
* Add tests for each non-conforming map merges
2022-03-23 09:36:17 -07:00
monopole
360585dfaf
Add YAML anchor/alias expansion.
2021-08-19 11:55:09 -07:00
Katrina Verey
2e8a3b7c45
Use the forked go-yaml module
2021-06-28 15:29:32 -07:00
Kubernetes Prow Robot
cb4f5c3983
Merge pull request #4006 from runewake2/validate-data-map
...
Introduce Validate Data Map Function
2021-06-18 12:34:06 -07:00
Natasha Sarkar
23e28bb18a
change marshal indent to 2 ( #4005 )
2021-06-17 13:34:04 -07:00
Sam Wronski
10331d9560
Add GetValidatedDataMap to rnode
2021-06-17 01:46:35 -07:00
Mikhail Mazurskiy
a3ed120efb
Handle errors
2021-06-05 09:43:13 +10:00
monopole
5c4e363f11
Remove delegation to RNode in Resource.
2021-05-11 10:49:17 -07:00
monopole
123a5d6e56
Remove the wrappy layer.
2021-03-15 15:59:06 -07:00
Natasha Sarkar
722b0131f0
return error for duplicate keys rather than panicking
2021-03-03 12:13:24 -08:00
monopole
1a002005c1
Add RNode.Map method and test to help decoding.
2021-01-09 06:57:01 -08:00
jregan
35087ed0cc
Add RNode.Set/GetDataMap to ease configmap generation.
2020-12-21 07:18:51 -08:00
Donny Xia
bae3228557
Add function to check is YNode zero
2020-12-11 14:55:44 -08:00
jregan
56c8df7b85
Add RNode implementation of label and annotation selectors.
2020-11-26 14:47:23 -08:00
jregan
ec64ef705b
Add metadata getters and setters to RNode.
...
These setters completely remove the field if the argument
is empty, rather than setting the field to an empty value,
mimicing apimachinery behavior.
2020-11-25 07:03:12 -08:00
jregan
b88e770b1d
binary data nope
2020-11-20 17:55:20 -08:00
jregan
e1c3caeba6
Introduce some RNode validation methods.
2020-11-16 11:32:23 -08:00
jregan
a4f22cb84f
Add RNode fromMap method.
2020-11-14 13:10:53 -08:00
jregan
24beeb429d
RNode copier
2020-08-21 18:04:58 -07:00
Kubernetes Prow Robot
596c39b7bc
Merge pull request #2855 from phanimarupaka/DeleteSubst
...
Delete substitution and fix delete setters
2020-08-19 12:27:23 -07:00
Phani Teja Marupaka
ca04c874f2
Delete substitution and fix delete setters
2020-08-18 22:24:50 -07:00
jregan
8619c9aa13
Inline TypeMeta.
2020-08-16 17:20:30 -07:00
jregan
c4c8decb74
Delete non-rnode stuff from rnode.go.
2020-08-16 07:35:11 -07:00
jregan
0590b225c7
Copy types.go to rnode.go.
2020-08-16 07:35:11 -07:00