Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
go-gitlab
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
go-gitlab
Commits
03db79e9
Commit
03db79e9
authored
Aug 19, 2019
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Inline Illustration
parent
283cd9b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
14 deletions
+11
-14
pipelines.go
pipelines.go
+11
-14
No files found.
pipelines.go
View file @
03db79e9
...
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment