1 package api 2 3 // ResourcesList is the result of the `odo list` command 4 type ResourcesList struct { 5 // ComponentInDevfile is the component name present in the local Devfile when `odo list` is executed, or empty 6 ComponentInDevfile string `json:"componentInDevfile,omitempty"` 7 // Components is a list of components deployed in the cluster or present in the local Devfile 8 Components []ComponentAbstract `json:"components,omitempty"` 9 10 // BindingsInDevfile is the list of binding names present in the local devfile 11 BindingsInDevfile []string `json:"bindingsInDevfile,omitempty"` 12 // Bindings is a list of bindings in the local devfile and/or cluster 13 Bindings []ServiceBinding `json:"bindings,omitempty"` 14 15 // BindableServices is the list of bindable services that could be bound to the component 16 BindableServices []BindableService `json:"bindableServices,omitempty"` 17 18 // Namespaces is the list of namespces available for the user on the cluster 19 Namespaces []Project `json:"namespaces,omitempty"` 20 } 21