Skip to content

Commit

Permalink
Merge pull request #2017 from jaredallard/patch-1
Browse files Browse the repository at this point in the history
feat(runners): add maintenance_note on put/get runner details
  • Loading branch information
svanharmelen authored Sep 28, 2024
2 parents 1016f7f + da1332a commit 5f6d49a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runners.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ type RunnerDetails struct {
IsShared bool `json:"is_shared"`
RunnerType string `json:"runner_type"`
ContactedAt *time.Time `json:"contacted_at"`
MaintenanceNote string `json:"maintenance_note"`
Name string `json:"name"`
Online bool `json:"online"`
Status string `json:"status"`
Expand Down Expand Up @@ -180,6 +181,7 @@ type UpdateRunnerDetailsOptions struct {
Locked *bool `url:"locked,omitempty" json:"locked,omitempty"`
AccessLevel *string `url:"access_level,omitempty" json:"access_level,omitempty"`
MaximumTimeout *int `url:"maximum_timeout,omitempty" json:"maximum_timeout,omitempty"`
MaintenanceNote *string `url:"maintenance_note,omitempty" json:"maintenance_note,omitempty"`

// Deprecated: Use Paused instead. (Deprecated in GitLab 14.8)
Active *bool `url:"active,omitempty" json:"active,omitempty"`
Expand Down

0 comments on commit 5f6d49a

Please sign in to comment.