diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-01 10:12:44 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-01 10:12:44 +0300 |
commit | 6571efb6c3afd568c019e7bb46aba84328a4e821 (patch) | |
tree | 24d455c614cf37dac75c6e83d4d58555247bc7b0 /spec/support/google_api/cloud_platform_helpers.rb | |
parent | ef3ebed6d3d3910bdf6080d6304ee7c5d5b0cc87 (diff) |
Fix spec. Fix usage ping. Fix warnings by adding new models and attributes.
Diffstat (limited to 'spec/support/google_api/cloud_platform_helpers.rb')
-rw-r--r-- | spec/support/google_api/cloud_platform_helpers.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/support/google_api/cloud_platform_helpers.rb b/spec/support/google_api/cloud_platform_helpers.rb index ef73add3991..4b785611ab5 100644 --- a/spec/support/google_api/cloud_platform_helpers.rb +++ b/spec/support/google_api/cloud_platform_helpers.rb @@ -61,6 +61,11 @@ module GoogleApi Base64.encode64(File.read(pem_file)) end + ## + # gcloud container clusters create + # https://cloud.google.com/container-engine/reference/rest/v1/projects.zones.clusters/create + # rubocop:disable Metrics/CyclomaticComplexity + # rubocop:disable Metrics/PerceivedComplexity def cloud_platform_cluster_body(**options) { "name": options[:name] || 'string', |