@@ -15,6 +15,7 @@ type StackDeploymentRuns interface {
15
15
// List returns a list of stack deployment runs for a given deployment group.
16
16
List (ctx context.Context , deploymentGroupID string , options * StackDeploymentRunListOptions ) (* StackDeploymentRunList , error )
17
17
Read (ctx context.Context , stackDeploymentRunID string ) (* StackDeploymentRun , error )
18
+ ReadWithOptions (ctx context.Context , stackDeploymentRunID string , options * StackDeploymentRunReadOptions ) (* StackDeploymentRun , error )
18
19
ApproveAllPlans (ctx context.Context , deploymentRunID string ) error
19
20
Cancel (ctx context.Context , stackDeploymentRunID string ) error
20
21
}
@@ -43,21 +44,20 @@ const (
43
44
SDRDeploymentGroup SDRIncludeOpt = "stack-deployment-group"
44
45
)
45
46
46
- type StackDeploymentRunReadOptions struct {
47
- // Optional: A list of relations to include.
48
- Include []SDRIncludeOpt `url:"include,omitempty"`
49
- }
50
-
51
47
// StackDeploymentRunList represents a list of stack deployment runs.
52
48
type StackDeploymentRunList struct {
53
49
* Pagination
54
50
Items []* StackDeploymentRun
55
51
}
56
52
53
+ type StackDeploymentRunReadOptions struct {
54
+ // Optional: A list of relations to include.
55
+ Include []SDRIncludeOpt `url:"include,omitempty"`
56
+ }
57
+
57
58
// StackDeploymentRunListOptions represents the options for listing stack deployment runs.
58
59
type StackDeploymentRunListOptions struct {
59
60
ListOptions
60
-
61
61
// Optional: A list of relations to include.
62
62
Include []SDRIncludeOpt `url:"include,omitempty"`
63
63
}
0 commit comments