Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(iam): add iam application #1339

Merged
merged 20 commits into from
Jun 24, 2022
Merged

Conversation

Codelax
Copy link
Member

@Codelax Codelax commented Jun 23, 2022

No description provided.

@Codelax Codelax marked this pull request as ready for review June 23, 2022 14:14
@codecov-commenter
Copy link

codecov-commenter commented Jun 23, 2022

Codecov Report

Merging #1339 (2c2c8cf) into master (b09d131) will decrease coverage by 0.47%.
The diff coverage is 4.87%.

@@            Coverage Diff             @@
##           master    #1339      +/-   ##
==========================================
- Coverage   70.26%   69.79%   -0.48%     
==========================================
  Files         107      109       +2     
  Lines       17523    17646     +123     
==========================================
+ Hits        12313    12316       +3     
- Misses       4145     4264     +119     
- Partials     1065     1066       +1     
Impacted Files Coverage Δ
scaleway/helpers_iam.go 0.00% <0.00%> (ø)
scaleway/resource_iam_application.go 0.00% <0.00%> (ø)
scaleway/provider.go 73.12% <37.50%> (-2.41%) ⬇️
scaleway/retryable_transport.go 70.00% <0.00%> (-10.00%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b09d131...2c2c8cf. Read the comment docs.

import iam "github.com/scaleway/scaleway-sdk-go/api/iam/v1alpha1"

// instanceAPIWithZone returns a new iam API for a Create request
func iamAPI(m interface{}) *iam.API {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: when you switch to go1.18 this function can use generics

Copy link
Contributor

@kindermoumoute kindermoumoute left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Monitob Monitob merged commit 4474c76 into scaleway:master Jun 24, 2022
@Codelax Codelax deleted the iam_application branch June 24, 2022 12:55
@remyleone remyleone added the iam IAM issues, bugs and feature requests label Jul 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
iam IAM issues, bugs and feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants