Commit 31547d59 authored by achiu's avatar achiu

Add Status and Type as ListRunnersOptions

parent 6d33d407
......@@ -80,7 +80,9 @@ type RunnerDetails struct {
// https://docs.gitlab.com/ce/api/runners.html#list-owned-runners
type ListRunnersOptions struct {
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.
......
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