mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
Init command (#5348)
* Init command * More tests + check empty dir * Move function from catalog to service package * Interactive asks lang + type * Interactive * Refactor catalog package with interface * Add mocks for catalog and init/asker * Add tests * Create sub-packages for init + starter project * Rename files in pkg/catalog * More validations * fix * Logs * Rollback * Go back and No starter * Review * Use filesystem.Filesystem in pkg/catalog * Change pull from registry strategy * More unit tests * More tests * Integration tests * Review * Use full path to fix problem with Unzip * Add integration test for devfile with parent URI * Add prefClient dependence to catalog package * Move function to pkg/init package * Review * Fix rebase * Review
This commit is contained in:
@@ -39,6 +39,27 @@ mockgen -source=pkg/preference/preference.go \
|
||||
-package preference \
|
||||
-destination pkg/preference/mock.go
|
||||
|
||||
|
||||
mockgen -source=pkg/auth/interface.go \
|
||||
-package auth \
|
||||
-destination pkg/auth/mock.go
|
||||
|
||||
mockgen -source=pkg/odo/cli/init/params/interface.go \
|
||||
-package params \
|
||||
-destination pkg/odo/cli/init/params/mock.go
|
||||
|
||||
mockgen -source=pkg/catalog/interface.go \
|
||||
-package catalog \
|
||||
-destination pkg/catalog/mock_catalog.go
|
||||
|
||||
mockgen -source=pkg/odo/cli/init/asker/interface.go \
|
||||
-package asker \
|
||||
-destination pkg/odo/cli/init/asker/mock.go
|
||||
|
||||
mockgen -source=pkg/init/interface.go \
|
||||
-package init \
|
||||
-destination pkg/init/mock.go
|
||||
|
||||
mockgen -source=pkg/init/registry/interface.go \
|
||||
-package registry \
|
||||
-destination pkg/init/registry/mock.go
|
||||
|
||||
Reference in New Issue
Block a user