-
Notifications
You must be signed in to change notification settings - Fork 90
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
Initial import of transport for GCP. #283
Conversation
Signed-off-by: Stuart Paterson <spaterson@chef.io>
Refs inspec/inspec#2722 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking nice @skpaterson !
end | ||
|
||
# Instantiate some named classes for ease of use | ||
def gcp_compute_client |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if your going to make helper methods can you use the gcp_client
for them all? That way the logic is in one spot.
def gcp_iam_client
gcp_client(Google::Apis::IamV1::IamService)
end
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good shout! I'll update that now.
Signed-off-by: Stuart Paterson <spaterson@chef.io>
…ependencies. Signed-off-by: Stuart Paterson <spaterson@chef.io>
Signed-off-by: Stuart Paterson <spaterson@chef.io>
Signed-off-by: Stuart Paterson <spaterson@chef.io>
Signed-off-by: Stuart Paterson <spaterson@chef.io>
Signed-off-by: Stuart Paterson <spaterson@chef.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @skpaterson
Add transport for Google Cloud Platform. Note, this introduces a gem dependency issue with berkshelf.