Commit 7e373ce4 authored by Patrick Webster's avatar Patrick Webster Committed by Sander van Harmelen

runners.go: Adding IPAddress field, updated docs url (#497)

* Adding missing users fields, updating docs link

* Fixing bad single quote

* runners.go: Adding IPAddress field, updated docs url

* Fixing doc link
parent 42c8b3d7
......@@ -18,6 +18,7 @@ package gitlab
import (
"fmt"
"net"
"net/url"
"time"
)
......@@ -34,14 +35,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"`
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 *net.IP `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.
......
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