mirror of
https://github.com/redhat-developer/odo.git
synced 2025-10-19 03:06:19 +03:00
* remove odo catalog command - move devfile registry relevant code to pkg/registry * remove odo catalog page form docs * remove a few forgotten uses of catalog from clientset.go * fix typos in docs
30 lines
695 B
Go
30 lines
695 B
Go
package registry
|
|
|
|
// Registry is the main struct of devfile registry
|
|
type Registry struct {
|
|
Name string
|
|
URL string
|
|
Secure bool
|
|
}
|
|
|
|
// DevfileStack is the main struct for devfile catalog components
|
|
type DevfileStack struct {
|
|
Name string
|
|
DisplayName string
|
|
Description string
|
|
Link string
|
|
Registry Registry
|
|
Language string
|
|
Tags []string
|
|
ProjectType string
|
|
}
|
|
|
|
// DevfileStackList lists all the Devfile Stacks
|
|
type DevfileStackList struct {
|
|
DevfileRegistries []Registry
|
|
Items []DevfileStack
|
|
}
|
|
|
|
// TypesWithDetails is the list of project types in devfile registries, and their associated devfiles
|
|
type TypesWithDetails map[string][]DevfileStack
|