Skip to content

Commit 136cf66

Browse files
committed
chore: extend environment with idled status
1 parent affb69e commit 136cf66

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

api/schema/environment.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ type Environment struct {
7272
Updated string `json:"updated,omitempty"`
7373
Created string `json:"created,omitempty"`
7474
Deleted string `json:"deleted,omitempty"`
75+
Idled *bool `json:"idled,omitempty"`
7576
}
7677

7778
// EnvironmentConfig contains Environment configuration.
@@ -134,6 +135,7 @@ type UpdateEnvironmentPatchInput struct {
134135
AutoIdle *uint `json:"autoIdle,omitempty"`
135136
Openshift *uint `json:"openshift,omitempty"`
136137
Created *string `json:"created,omitempty"`
138+
Idled *bool `json:"idled,omitempty"`
137139
}
138140

139141
// EnvironmentService is based on the Lagoon API type.

0 commit comments

Comments
 (0)