Skip to content

Commit

Permalink
feat(test): add AccessKey to Register response (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Brosse authored Nov 5, 2019
1 parent e0f774b commit 2afa274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/marketplace/v1/marketplace_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ type ListImagesRequest struct {
Page *int32 `json:"-"`
}

// ListImages list marketplace images
func (s *API) ListImages(req *ListImagesRequest, opts ...scw.RequestOption) (*ListImagesResponse, error) {
var err error

Expand Down Expand Up @@ -211,6 +212,7 @@ type GetImageRequest struct {
ImageID string `json:"-"`
}

// GetImage get a specific marketplace image
func (s *API) GetImage(req *GetImageRequest, opts ...scw.RequestOption) (*GetImageResponse, error) {
var err error

Expand Down
2 changes: 2 additions & 0 deletions api/test/v1/test_sdk.go
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ type ListHumansResponse struct {

type RegisterResponse struct {
SecretKey string `json:"secret_key"`

AccessKey string `json:"access_key"`
}

// Service API
Expand Down

0 comments on commit 2afa274

Please sign in to comment.