Remove component in module with
Removes component in module with `ks component rm module.name`
Signed-off-by: bryanl <bryanliles@gmail.com>
Showing
- pkg/component/component.go 4 additions, 2 deletionspkg/component/component.go
- pkg/component/delete.go 27 additions, 11 deletionspkg/component/delete.go
- pkg/component/delete_test.go 30 additions, 0 deletionspkg/component/delete_test.go
- pkg/component/jsonnet.go 11 additions, 0 deletionspkg/component/jsonnet.go
- pkg/component/manager.go 1 addition, 1 deletionpkg/component/manager.go
- pkg/component/mocks/Component.go 14 additions, 0 deletionspkg/component/mocks/Component.go
- pkg/component/module.go 2 additions, 2 deletionspkg/component/module.go
- pkg/component/module_test.go 1 addition, 1 deletionpkg/component/module_test.go
- pkg/component/testdata/delete-env-params-nested.libsonnet 9 additions, 0 deletionspkg/component/testdata/delete-env-params-nested.libsonnet
- pkg/component/testdata/delete-env-params.libsonnet 5 additions, 1 deletionpkg/component/testdata/delete-env-params.libsonnet
- pkg/component/testdata/delete/components/nested/guestbook-ui.jsonnet 29 additions, 0 deletions...nt/testdata/delete/components/nested/guestbook-ui.jsonnet
- pkg/component/testdata/delete/components/nested/params.libsonnet 19 additions, 0 deletions...ponent/testdata/delete/components/nested/params.libsonnet
- pkg/component/testdata/delete/environments/default/params.libsonnet 3 additions, 0 deletions...ent/testdata/delete/environments/default/params.libsonnet
- pkg/component/yaml.go 11 additions, 0 deletionspkg/component/yaml.go
Please register or sign in to comment