@@ -97,6 +97,7 @@ type Stack struct {
97
97
UpdatedAt time.Time `jsonapi:"attr,updated-at,iso8601"`
98
98
99
99
// Relationships
100
+ AgentPool * AgentPool `jsonapi:"relation,agent-pool"`
100
101
Project * Project `jsonapi:"relation,project"`
101
102
LatestStackConfiguration * StackConfiguration `jsonapi:"relation,latest-stack-configuration"`
102
103
}
@@ -189,13 +190,15 @@ type StackCreateOptions struct {
189
190
Description * string `jsonapi:"attr,description,omitempty"`
190
191
VCSRepo * StackVCSRepoOptions `jsonapi:"attr,vcs-repo"`
191
192
Project * Project `jsonapi:"relation,project"`
193
+ AgentPool * AgentPool `jsonapi:"relation,agent-pool"`
192
194
}
193
195
194
196
// StackUpdateOptions represents the options for updating a stack.
195
197
type StackUpdateOptions struct {
196
198
Name * string `jsonapi:"attr,name,omitempty"`
197
199
Description * string `jsonapi:"attr,description,omitempty"`
198
200
VCSRepo * StackVCSRepoOptions `jsonapi:"attr,vcs-repo"`
201
+ AgentPool * AgentPool `jsonapi:"relation,agent-pool"`
199
202
}
200
203
201
204
// WaitForStatusResult is the data structure that is sent over the channel
0 commit comments