Commit Graph

451 Commits

Author SHA1 Message Date
k8s-ci-robot d8431e5dca
Merge pull request #372 from mengqiy/update_vendor
update vendor apimachinery
2018-03-23 11:07:03 -07:00
Mengqi Yu aad8d76b48 update vendor apimachinery 2018-03-23 10:20:14 -07:00
k8s-ci-robot 09240ed0d4
Merge pull request #370 from mengqiy/multiple_patches
support multiple patches for the same GVKN
2018-03-23 08:41:01 -07:00
k8s-ci-robot 2c8c714add
Merge pull request #348 from jberkhahn/parse_context
Use passed-in context in pluginutils config initializer
2018-03-22 14:45:03 -07:00
Mengqi Yu 67532e09da support multiple patches for the same GVKN 2018-03-22 14:09:18 -07:00
k8s-ci-robot 11a04e5d8e
Merge pull request #362 from apelisse/rename-value-to-interface
selectors: Remove "Map" and "Slice"
2018-03-20 15:40:01 -07:00
Antoine Pelisse 25cd875d37 Remove the suffix S from selectors
Since the package is now called "selectors", the S at the end of each
type name is no longer needed.
2018-03-20 15:15:47 -07:00
Antoine Pelisse ec3eca8944 selectors: Remove "Map" and "Slice"
Transforming from Interface to Map or Slice in order to get a sub-item
was cumbersome, so now you can only get children directly from the
interface.

Maps and Slices are at the same level as Number or string (you can only
filter or get). Also rename Map/Slice/Number/String to
AsMap/AsSlice/AsNumber/AsString to remove ambiguity.
2018-03-19 16:56:40 -07:00
k8s-ci-robot c8107f2ffc
Merge pull request #360 from apelisse/rename-value-to-interface
predicates: Rename Value into Interface
2018-03-19 14:45:00 -07:00
Antoine Pelisse 81e47da354 Move predicates and unstructpath to path
And rename unstructpath to selectors, since the package only contains
selectors now. The name of types in the selectors package could be
improved now that the package name is more specific.
2018-03-19 10:53:04 -07:00
Antoine Pelisse 3c97ce6d61 predicates: Rename Value into Interface
Since the original "Value" class is gone, it doesn't make sense anymore
to refer to that name. Now it's simply an "interface{}", so the name
Interface is more suited.
2018-03-19 10:41:18 -07:00
k8s-ci-robot 73cf61c131
Merge pull request #359 from apelisse/predicates-package
unstructpath: Move predicates to their own package
2018-03-19 09:54:01 -07:00
Antoine Pelisse 5a77a28cf3 unstructpath: Move predicates to their own package
Move the predicates to a "predicates" package, to simplify the
structure. This is purely mechanical change. Better documentation for
the package will come next, as well as a few other changes.
2018-03-19 09:20:54 -07:00
k8s-ci-robot b68d9f07aa
Merge pull request #356 from Liujingfang1/testing
Update directories in test script
2018-03-16 15:40:26 -07:00
Jingfang Liu b3a480b203 Update directories in test script 2018-03-16 15:07:36 -07:00
k8s-ci-robot fffaddd605
Merge pull request #354 from apelisse/unstructpath
unstructpath: Create json path type package.
2018-03-16 13:53:24 -07:00
k8s-ci-robot 29b128b8fd
Merge pull request #355 from Liujingfang1/testing
Update main.sh to exit non-zero when there is a failure
2018-03-16 13:26:24 -07:00
Jingfang Liu 96ee8021e6 Update main.sh to exit 1 when there is a failure 2018-03-16 13:17:29 -07:00
Antoine Pelisse 576bbe944f unstructpath: Create json path type package.
This package let's you find specific path in your unstruct types, kind
of like jsonpath does. But this is statically compiled.
2018-03-14 10:18:07 -07:00
Antoine Pelisse 030ff82b5c unstructpath: Create predicates
Predicates are type that determine if a value of a given type matches
some criteria. They will be useful as a filter type.
2018-03-14 10:11:11 -07:00
k8s-ci-robot bb08754337
Merge pull request #351 from Liujingfang1/testing
Add testing script to invoke example testing
2018-03-13 10:19:10 -07:00
k8s-ci-robot 4914f7f662
Merge pull request #352 from mengqiy/multi_layers
fix bug when update name ref in multi layer setup
2018-03-12 16:54:09 -07:00
Mengqi Yu 3753d9a681 fix bug when update name ref in multi layer setup 2018-03-12 16:40:57 -07:00
Jingfang Liu 2ccb2d750d Add testing script to invoke example testing 2018-03-12 15:48:34 -07:00
k8s-ci-robot 4a6a4033a5
Merge pull request #350 from mengqiy/rename_kobject
cleanup Resouce slice related code
2018-03-12 15:08:11 -07:00
Mengqi Yu 2e06ca8bc0 cleanup Resouce slice related code 2018-03-12 13:59:19 -07:00
k8s-ci-robot 94f9347974
Merge pull request #349 from mengqiy/rename_kobject
Rename KObject to ResourceCollection
2018-03-09 16:51:12 -08:00
Mengqi Yu 90262399c7 Rename KObject to ResourceCollection 2018-03-09 16:41:13 -08:00
Jonathan Berkhahn b8ef16af1e Use passed-in context in pluginutils config initializer 2018-03-08 16:00:09 -08:00
k8s-ci-robot 08f3abb5bc
Merge pull request #344 from mengqiy/namehash
appending name hash only applies to current layer
2018-03-08 14:01:13 -08:00
Mengqi Yu 4200a36e9f appending name hash only applies to current layer 2018-03-07 18:01:47 -08:00
k8s-ci-robot ad5d307237
Merge pull request #343 from Liujingfang1/remove_tree
Remove package tree
2018-03-07 09:14:53 -08:00
Jingfang Liu e069e421d0 Remove package tree 2018-03-07 09:04:29 -08:00
k8s-ci-robot 62ee664fbe
Merge pull request #341 from Liujingfang1/remove_tree
Add util functions to read/write manifest file and update sub commands
2018-03-06 16:49:53 -08:00
Jingfang Liu ea5dfd15c2 Add util functions to read/write manifest file and update sub commands 2018-03-06 16:14:57 -08:00
k8s-ci-robot 8d9cc2a7bf
Merge pull request #340 from mengqiy/CRD
fall back to JSON merge patch for types w/o schema (CRD)
2018-03-06 10:37:53 -08:00
k8s-ci-robot f09aa18071
Merge pull request #301 from ellenkorbes/clientlibmin
Resource Library
2018-03-06 09:09:52 -08:00
Ellen Körbes f893cb6268 added vendor directories 2018-03-06 13:56:46 -03:00
Ellen Körbes a9cf1354c1 rebase 2018-03-06 13:46:41 -03:00
Ellen Körbes 3be8109b17 resource library 2018-03-06 13:46:41 -03:00
Mengqi Yu 135ef05443 fall back to JSON merge patch for types w/o schema (CRD) 2018-03-05 18:25:05 -08:00
Mengqi Yu b62a81c7ca vendor github.com/evanphx/json-patch 2018-03-05 18:25:05 -08:00
k8s-ci-robot ce6b8f6927
Merge pull request #334 from Liujingfang1/new_inflate_diff
Update inflate/diff and corresponding tests
2018-03-05 13:32:50 -08:00
Jingfang Liu 97859f4abd Update inflate/diff and corresponding tests 2018-03-02 15:50:33 -08:00
k8s-ci-robot a80049d5e6
Merge pull request #333 from Liujingfang1/new_inflate
Change inflate to use Application interface
2018-03-02 14:08:54 -08:00
Jingfang Liu dc31abde47 Change inflate to use Application interface 2018-03-02 13:55:20 -08:00
k8s-ci-robot 98c1afe6c2
Merge pull request #322 from mengqiy/application_resouces
implement Resources func for applicationImpl
2018-03-02 12:40:51 -08:00
Mengqi Yu 6a26e64255 implement Application interface for applicationImpl 2018-03-02 11:05:03 -08:00
k8s-ci-robot 58f7d23214
Merge pull request #331 from mengqiy/update_resources
update resource package
2018-03-01 14:13:29 -08:00
Mengqi Yu 12e3e4da6f update resource pkg 2018-03-01 14:04:40 -08:00