File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,10 @@ module github.com/stackitcloud/stackit-sdk-go/services/dremio
22
33go 1.25
44
5- require github.com/stackitcloud/stackit-sdk-go/core v0.26.0
5+ require (
6+ github.com/google/go-cmp v0.7.0
7+ github.com/stackitcloud/stackit-sdk-go/core v0.26.0
8+ )
69
710require (
811 github.com/golang-jwt/jwt/v5 v5.3.1 // indirect
Original file line number Diff line number Diff line change 77 "time"
88
99 "github.com/google/go-cmp/cmp"
10+
1011 "github.com/stackitcloud/stackit-sdk-go/core/oapierror"
1112 "github.com/stackitcloud/stackit-sdk-go/core/utils"
1213 dremio "github.com/stackitcloud/stackit-sdk-go/services/dremio/v1alphaapi"
@@ -21,7 +22,7 @@ type mockSettings struct {
2122func newAPIMock (settings mockSettings ) dremio.DefaultAPI {
2223 return & dremio.DefaultAPIServiceMock {
2324 GetDremioExecuteMock : utils .Ptr (
24- func (r dremio.ApiGetDremioRequest ) (* dremio.DremioResponse , error ) {
25+ func (_ dremio.ApiGetDremioRequest ) (* dremio.DremioResponse , error ) {
2526 if settings .isDeleted {
2627 return nil , & oapierror.GenericOpenAPIError {
2728 StatusCode : http .StatusNotFound ,
@@ -39,7 +40,7 @@ func newAPIMock(settings mockSettings) dremio.DefaultAPI {
3940 },
4041 ),
4142 GetDremioUserExecuteMock : utils .Ptr (
42- func (r dremio.ApiGetDremioUserRequest ) (* dremio.DremioUserResponse , error ) {
43+ func (_ dremio.ApiGetDremioUserRequest ) (* dremio.DremioUserResponse , error ) {
4344 if settings .isDeleted {
4445 return nil , & oapierror.GenericOpenAPIError {
4546 StatusCode : http .StatusNotFound ,
You can’t perform that action at this time.
0 commit comments