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
9fc94ba2
Commit
9fc94ba2
authored
Mar 06, 2019
by
Sander van Harmelen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
`IPAddress` can be a single comma separated string
Fixes #575
parent
2b019087
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
runners.go
runners.go
+9
-10
No files found.
runners.go
View file @
9fc94ba2
...
...
@@ -18,7 +18,6 @@ package gitlab
import
(
"fmt"
"net"
"net/url"
"time"
)
...
...
@@ -35,15 +34,15 @@ type RunnersService struct {
//
// GitLab API docs: https://docs.gitlab.com/ce/api/runners.html
type
Runner
struct
{
ID
int
`json:"id"`
Description
string
`json:"description"`
Active
bool
`json:"active"`
IsShared
bool
`json:"is_shared"`
IPAddress
*
net
.
IP
`json:"ip_address"`
Name
string
`json:"name"`
Online
bool
`json:"online"`
Status
string
`json:"status"`
Token
string
`json:"token"`
ID
int
`json:"id"`
Description
string
`json:"description"`
Active
bool
`json:"active"`
IsShared
bool
`json:"is_shared"`
IPAddress
string
`json:"ip_address"`
Name
string
`json:"name"`
Online
bool
`json:"online"`
Status
string
`json:"status"`
Token
string
`json:"token"`
}
// RunnerDetails represents the GitLab CI runner details.
...
...
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