Commit 03db79e9 authored by Alex Kalderimis's avatar Alex Kalderimis

Inline Illustration

parent 283cd9b4
......@@ -69,20 +69,17 @@ type Pipeline struct {
// DetailedStatus contains detailed information about the status of a pipeline
type DetailedStatus struct {
Icon string `json:"icon"`
Text string `json:"text"`
Label string `json:"label"`
Group string `json:"group"`
Tooltip string `json:"tooltip"`
HasDetails bool `json:"has_details"`
DetailsPath string `json:"details_path"`
Illustration *Illustration `json:"illustration"`
Favicon string `json:"favicon"`
}
// Illustration includes a link to an image to display
type Illustration struct {
Image string `json:"image"`
Icon string `json:"icon"`
Text string `json:"text"`
Label string `json:"label"`
Group string `json:"group"`
Tooltip string `json:"tooltip"`
HasDetails bool `json:"has_details"`
DetailsPath string `json:"details_path"`
Illustration *struct {
Image string `json:"image"`
} `json:"illustration"`
Favicon string `json:"favicon"`
}
func (i Pipeline) String() string {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment