Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-06 17:06:10 +0300
committerShinya Maeda <shinya@gitlab.com>2017-11-06 17:06:10 +0300
commita99ad59e655d66fda8af7f2b89aced79b8bc1060 (patch)
treec324ee36e56192feba969709807f7e7c329e3fbf /spec/support/google_api/cloud_platform_helpers.rb
parent377916ed72cf31ee31e463f395993d1ec0dc579b (diff)
Remove 10.3 comments (Tracked by a tech debts issue). Refactor spec factory name. Use ArgumentError
Diffstat (limited to 'spec/support/google_api/cloud_platform_helpers.rb')
-rw-r--r--spec/support/google_api/cloud_platform_helpers.rb36
1 files changed, 0 insertions, 36 deletions
diff --git a/spec/support/google_api/cloud_platform_helpers.rb b/spec/support/google_api/cloud_platform_helpers.rb
index 4b785611ab5..dabf0db7666 100644
--- a/spec/support/google_api/cloud_platform_helpers.rb
+++ b/spec/support/google_api/cloud_platform_helpers.rb
@@ -71,15 +71,9 @@ module GoogleApi
"name": options[:name] || 'string',
"description": options[:description] || 'string',
"initialNodeCount": options[:initialNodeCount] || 'number',
- # "nodeConfig": {,
- # object(NodeConfig),
- # },,
"masterAuth": {
"username": options[:username] || 'string',
"password": options[:password] || 'string',
- # "clientCertificateConfig": {
- # object(ClientCertificateConfig)
- # },
"clusterCaCertificate": options[:clusterCaCertificate] || load_sample_cert,
"clientCertificate": options[:clientCertificate] || 'string',
"clientKey": options[:clientKey] || 'string'
@@ -88,36 +82,9 @@ module GoogleApi
"monitoringService": options[:monitoringService] || 'string',
"network": options[:network] || 'string',
"clusterIpv4Cidr": options[:clusterIpv4Cidr] || 'string',
- # "addonsConfig": {,
- # object(AddonsConfig),
- # },,
"subnetwork": options[:subnetwork] || 'string',
- # "nodePools": [,
- # {,
- # object(NodePool),
- # },
- # ],,
- # "locations": [,
- # string,
- # ],,
"enableKubernetesAlpha": options[:enableKubernetesAlpha] || 'boolean',
- # "resourceLabels": {,
- # string: string,,
- # ...,
- # },,
"labelFingerprint": options[:labelFingerprint] || 'string',
- # "legacyAbac": {,
- # object(LegacyAbac),
- # },
- # "networkPolicy": {,
- # object(NetworkPolicy),
- # },
- # "ipAllocationPolicy": {,
- # object(IPAllocationPolicy),
- # },
- # "masterAuthorizedNetworksConfig": {,
- # object(MasterAuthorizedNetworksConfig),
- # },
"selfLink": options[:selfLink] || 'string',
"zone": options[:zone] || 'string',
"endpoint": options[:endpoint] || 'string',
@@ -129,9 +96,6 @@ module GoogleApi
"statusMessage": options[:statusMessage] || 'string',
"nodeIpv4CidrSize": options[:nodeIpv4CidrSize] || 'number',
"servicesIpv4Cidr": options[:servicesIpv4Cidr] || 'string',
- # "instanceGroupUrls": [,
- # string,
- # ],,
"currentNodeCount": options[:currentNodeCount] || 'number',
"expireTime": options[:expireTime] || 'string'
}