...
1 package api
2
3
23
24 type OdoVersion struct {
25 Version string `json:"version"`
26 GitCommit string `json:"gitCommit"`
27 Cluster *ClusterInfo `json:"cluster,omitempty"`
28 Podman *PodmanInfo `json:"podman,omitempty"`
29 }
30
31 type ClusterInfo struct {
32 ServerURL string `json:"serverURL,omitempty"`
33 Kubernetes *ClusterClientInfo `json:"kubernetes,omitempty"`
34 OpenShift *ClusterClientInfo `json:"openshift,omitempty"`
35 }
36
37 type ClusterClientInfo struct {
38 Version string `json:"version,omitempty"`
39 }
40
41 type PodmanInfo struct {
42 Client *PodmanClientInfo `json:"client,omitempty"`
43 }
44
45 type PodmanClientInfo struct {
46 Version string `json:"version,omitempty"`
47 }
48
View as plain text