diff options
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', |