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
ce3c74ed
Unverified
Commit
ce3c74ed
authored
Mar 06, 2019
by
Sander van Harmelen
Committed by
GitHub
Mar 06, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #576 from xanzy/svh/f-ipaddresses
`IPAddress` can be a single comma separated string
parents
2b019087
9fc94ba2
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 @
ce3c74ed
...
@@ -18,7 +18,6 @@ package gitlab
...
@@ -18,7 +18,6 @@ package gitlab
import
(
import
(
"fmt"
"fmt"
"net"
"net/url"
"net/url"
"time"
"time"
)
)
...
@@ -35,15 +34,15 @@ type RunnersService struct {
...
@@ -35,15 +34,15 @@ type RunnersService struct {
//
//
// GitLab API docs: https://docs.gitlab.com/ce/api/runners.html
// GitLab API docs: https://docs.gitlab.com/ce/api/runners.html
type
Runner
struct
{
type
Runner
struct
{
ID
int
`json:"id"`
ID
int
`json:"id"`
Description
string
`json:"description"`
Description
string
`json:"description"`
Active
bool
`json:"active"`
Active
bool
`json:"active"`
IsShared
bool
`json:"is_shared"`
IsShared
bool
`json:"is_shared"`
IPAddress
*
net
.
IP
`json:"ip_address"`
IPAddress
string
`json:"ip_address"`
Name
string
`json:"name"`
Name
string
`json:"name"`
Online
bool
`json:"online"`
Online
bool
`json:"online"`
Status
string
`json:"status"`
Status
string
`json:"status"`
Token
string
`json:"token"`
Token
string
`json:"token"`
}
}
// RunnerDetails represents the GitLab CI runner details.
// 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