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

Initial import of transport for GCP. #283

Merged
merged 7 commits into from
May 14, 2018
Merged

Initial import of transport for GCP. #283

merged 7 commits into from
May 14, 2018

Conversation

skpaterson
Copy link

Add transport for Google Cloud Platform. Note, this introduces a gem dependency issue with berkshelf.

Signed-off-by: Stuart Paterson <spaterson@chef.io>
@skpaterson skpaterson requested review from jquick and a team April 16, 2018 11:04
@clintoncwolfe
Copy link
Contributor

Refs inspec/inspec#2722

Copy link
Contributor

@jquick jquick left a 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
Copy link
Contributor

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

Copy link
Author

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.

Stuart Paterson added 3 commits April 18, 2018 09:43
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>
Stuart Paterson added 3 commits April 24, 2018 14:58
Signed-off-by: Stuart Paterson <spaterson@chef.io>
Signed-off-by: Stuart Paterson <spaterson@chef.io>
Signed-off-by: Stuart Paterson <spaterson@chef.io>
Copy link
Contributor

@jquick jquick left a comment

Choose a reason for hiding this comment

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

Thanks @skpaterson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants