mirror of https://github.com/kubevela/kubevela.git
* Feat: filter by source addon in `vela def list` Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Style: change header year to 2022 Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Refactor: use generic filters for extensibility Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Refactor: change variable addonFilter to addonName Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: update tests according to code changes Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Refactor: unify SearchDefinition params using filters Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: simplify tests Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Style: remove redundant code Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: add tests with multiple filters Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Feat: show SOURCE-ADDON column in `def list`, if any Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Feat: add addon filter to apiserver definition-lists Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Style: fix lint issues Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Chore: update swagger doc accordingly Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: add tests for filter Applying Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Feat: add a helper function to apply filters to lists Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Style: format imports Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Feat: add OwnerAddon to DefinitionBase Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: add tests for OwnerAddon field Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> * Test: add addon util tests Signed-off-by: Charlie Chiang <charlie_c_0129@outlook.com> |
||
|---|---|---|
| .. | ||
| addon.go | ||
| addon_test.go | ||