Unverified Commit f45d22b1 authored by Sander van Harmelen's avatar Sander van Harmelen Committed by GitHub

Merge pull request #582 from ailsachiu/runner-scope-deprecation

Add Status and Type as ListRunnersOptions
parents 6d33d407 31547d59
...@@ -80,7 +80,9 @@ type RunnerDetails struct { ...@@ -80,7 +80,9 @@ type RunnerDetails struct {
// https://docs.gitlab.com/ce/api/runners.html#list-owned-runners // https://docs.gitlab.com/ce/api/runners.html#list-owned-runners
type ListRunnersOptions struct { type ListRunnersOptions struct {
ListOptions ListOptions
Scope *string `url:"scope,omitempty" json:"scope,omitempty"` Scope *string `url:"scope,omitempty" json:"scope,omitempty"`
Status *string `url:"status,omitempty" json:"status,omitempty"`
Type *string `url:"type,omitempty" json:"type,omitempty"`
} }
// ListRunners gets a list of runners accessible by the authenticated user. // ListRunners gets a list of runners accessible by the authenticated user.
......
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