Files
odo/pkg/registry/types.go
Philippe Martin a26aa6a398 odo registry -o json (#5739)
* Doc odo registry

* JSON output

* Move structure for JSON output to api package

* Doc for json output

* Add integration tests

* Review

* Do not rely on devfile version for tests as it is too unstable
2022-05-16 13:45:22 +02:00

13 lines
377 B
Go

package registry
import "github.com/redhat-developer/odo/pkg/api"
// DevfileStackList lists all the Devfile Stacks
type DevfileStackList struct {
DevfileRegistries []api.Registry
Items []api.DevfileStack
}
// TypesWithDetails is the list of project types in devfile registries, and their associated devfiles
type TypesWithDetails map[string][]api.DevfileStack