diff --git a/.fixtures.yml b/.fixtures.yml index 6efe782f..c4ebd84f 100644 --- a/.fixtures.yml +++ b/.fixtures.yml @@ -11,9 +11,7 @@ fixtures: rook: 'puppetlabs-rook' repositories: facts: 'https://github.com/puppetlabs/puppetlabs-facts.git' - puppet_agent: - repo: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git' - ref: v4.13.0 + puppet_agent: 'https://github.com/puppetlabs/puppetlabs-puppet_agent.git' provision: 'https://github.com/puppetlabs/provision.git' yumrepo_core: repo: https://github.com/puppetlabs/puppetlabs-yumrepo_core.git diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ff98f665..9567c23a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-24.04 strategy: fail-fast: false - matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppet7-nightly', 'puppet8-nightly']} + matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppetcore8-nightly']} steps: - name: "Install Twingate" @@ -24,6 +24,24 @@ jobs: with: service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} + - name: Fix DNS + run: | + echo "=== Remove Azure DNS from eth0 interface ===" + sudo resolvectl dns eth0 "" + + echo "=== Configure Twingate DNS properly ===" + sudo resolvectl dns sdwan0 100.95.0.251 100.95.0.252 + sudo resolvectl domain sdwan0 delivery.puppetlabs.net + + echo "=== Flush DNS cache ===" + sudo resolvectl flush-caches + + echo "=== Check new configuration ===" + resolvectl status + + echo "=== Test DNS resolution ===" + nslookup artifactory.delivery.puppetlabs.net + - name: Checkout Source uses: actions/checkout@v3 @@ -49,8 +67,8 @@ jobs: run: | bundle exec bolt --modulepath spec/fixtures/modules plan run kubernetes::provision_cluster image_type=${{ matrix.platform }} FILE='spec/fixtures/litmus_inventory.yaml' - sed -e 's/password: .*/password: "[redacted]"/' < $FILE || true echo INVENTORY_PATH=$FILE >> $GITHUB_ENV + cat $FILE - name: Puppet server setup run: | @@ -67,9 +85,3 @@ jobs: - name: Run integration tests run: | bundle exec rake kubernetes:integration - - - name: Remove test environment - if: ${{ always() }} - continue-on-error: true - run: | - bundle exec rake 'litmus:tear_down' diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index 64c11c17..eb53fe47 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -14,7 +14,7 @@ jobs: runs-on: ubuntu-24.04 strategy: fail-fast: false - matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppet7-nightly', 'puppet8-nightly']} + matrix: {'platform':['rhel-8', 'debian-11'],'collection':['puppetcore8-nightly']} steps: - name: "Install Twingate" @@ -22,6 +22,24 @@ jobs: with: service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} + - name: Fix DNS + run: | + echo "=== Remove Azure DNS from eth0 interface ===" + sudo resolvectl dns eth0 "" + + echo "=== Configure Twingate DNS properly ===" + sudo resolvectl dns sdwan0 100.95.0.251 100.95.0.252 + sudo resolvectl domain sdwan0 delivery.puppetlabs.net + + echo "=== Flush DNS cache ===" + sudo resolvectl flush-caches + + echo "=== Check new configuration ===" + resolvectl status + + echo "=== Test DNS resolution ===" + nslookup artifactory.delivery.puppetlabs.net + - name: Checkout Source uses: actions/checkout@v3 diff --git a/.puppet-lint.rc b/.puppet-lint.rc index 879cf9c0..121d0de5 100644 --- a/.puppet-lint.rc +++ b/.puppet-lint.rc @@ -1,2 +1,11 @@ +--fail-on-warnings --relative --no-params_empty_string_assignment-check +--no-80chars-check +--no-140chars-check +--no-class_inherits_from_params_class-check +--no-autoloader_layout-check +--no-documentation-check +--no-single_quote_string_with_variables-check +--no-anchor_resource-check +--ignore-paths=.vendor/**/*.pp,.bundle/**/*.pp,pkg/**/*.pp,spec/**/*.pp,tests/**/*.pp,types/**/*.pp,vendor/**/*.pp diff --git a/.rubocop.yml b/.rubocop.yml index 439ea84e..47b1aadb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,7 +5,7 @@ require: AllCops: NewCops: enable DisplayCopNames: true - TargetRubyVersion: '2.6' + TargetRubyVersion: 3.1 Include: - "**/*.rb" Exclude: diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b60a6c35..6beed19e 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,6 +1,6 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2023-12-21 07:51:18 UTC using RuboCop version 1.48.1. +# on 2025-11-03 04:58:59 UTC using RuboCop version 1.50.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new @@ -10,28 +10,8 @@ Lint/UselessAssignment: Enabled: false -# Offense count: 1 -# Configuration parameters: AllowedNames. -# AllowedNames: module_parent -Naming/ClassAndModuleCamelCase: - Exclude: - - 'tooling/kube_tool.rb' - # Offense count: 2640 # Configuration parameters: EnforcedStyle, AllowedIdentifiers, AllowedPatterns. # SupportedStyles: snake_case, camelCase Naming/VariableName: Enabled: false - -# Offense count: 41 -# Configuration parameters: EnforcedStyle, IgnoreSharedExamples. -# SupportedStyles: always, named_only -RSpec/NamedSubject: - Exclude: - - 'spec/classes/config/kubeadm_spec.rb' - - 'spec/classes/kube_addons_spec.rb' - - 'spec/classes/packages_spec.rb' - - 'spec/classes/repos_spec.rb' - - 'spec/classes/service_spec.rb' - - 'spec/defines/kubeadm_join_spec.rb' - - 'spec/defines/wait_for_default_sa_spec.rb' diff --git a/Gemfile b/Gemfile index ad6d8ecf..5b6832e6 100644 --- a/Gemfile +++ b/Gemfile @@ -14,50 +14,57 @@ def location_for(place_or_version, fake_version = nil) end group :development do - gem "json", '= 2.1.0', require: false if Gem::Requirement.create(['>= 2.5.0', '< 2.7.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) - gem "json", '= 2.3.0', require: false if Gem::Requirement.create(['>= 2.7.0', '< 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) - gem "json", '= 2.5.1', require: false if Gem::Requirement.create(['>= 3.0.0', '< 3.0.5']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) gem "json", '= 2.6.1', require: false if Gem::Requirement.create(['>= 3.1.0', '< 3.1.3']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) gem "json", '= 2.6.3', require: false if Gem::Requirement.create(['>= 3.2.0', '< 4.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) gem "racc", '~> 1.4.0', require: false if Gem::Requirement.create(['>= 2.7.0', '< 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) gem "deep_merge", '~> 1.2.2', require: false gem "voxpupuli-puppet-lint-plugins", '~> 5.0', require: false - gem "facterdb", '~> 2.1', require: false + gem "facterdb", '~> 2.1', require: false if Gem::Requirement.create(['< 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) + gem "facterdb", '~> 3.0', require: false if Gem::Requirement.create(['>= 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) gem "metadata-json-lint", '~> 4.0', require: false - gem "rspec-puppet-facts", '~> 4.0', require: false + gem "json-schema", '< 5.1.1', require: false + gem "rspec-puppet-facts", '~> 4.0', require: false if Gem::Requirement.create(['< 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) + gem "rspec-puppet-facts", '~> 5.0', require: false if Gem::Requirement.create(['>= 3.0.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup)) gem "dependency_checker", '~> 1.0.0', require: false gem "parallel_tests", '= 3.12.1', require: false gem "pry", '~> 0.10', require: false gem "simplecov-console", '~> 0.9', require: false - gem "puppet-debugger", '~> 1.0', require: false + gem "puppet-debugger", '~> 1.6', require: false gem "rubocop", '~> 1.50.0', require: false gem "rubocop-performance", '= 1.16.0', require: false gem "rubocop-rspec", '= 2.19.0', require: false gem "rb-readline", '= 0.5.5', require: false, platforms: [:mswin, :mingw, :x64_mingw] - gem "rexml", '>= 3.3.9', require: false + gem "bigdecimal", '< 3.2.2', require: false, platforms: [:mswin, :mingw, :x64_mingw] end group :development, :release_prep do gem "puppet-strings", '~> 4.0', require: false - gem "puppetlabs_spec_helper", '~> 7.0', require: false + gem "puppetlabs_spec_helper", '~> 8.0', require: false + gem "puppet-blacksmith", '~> 7.0', require: false end group :system_tests do - gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw] + gem "puppet_litmus", '~> 2.0', require: false, platforms: [:ruby, :x64_mingw] if !ENV['PUPPET_FORGE_TOKEN'].to_s.empty? + gem "puppet_litmus", '~> 1.0', require: false, platforms: [:ruby, :x64_mingw] if ENV['PUPPET_FORGE_TOKEN'].to_s.empty? gem "CFPropertyList", '< 3.0.7', require: false, platforms: [:mswin, :mingw, :x64_mingw] gem "serverspec", '~> 2.41', require: false end -puppet_version = ENV['PUPPET_GEM_VERSION'] -facter_version = ENV['FACTER_GEM_VERSION'] -hiera_version = ENV['HIERA_GEM_VERSION'] - gems = {} -gems['puppet'] = location_for(puppet_version) - +puppet_version = ENV.fetch('PUPPET_GEM_VERSION', nil) +facter_version = ENV.fetch('FACTER_GEM_VERSION', nil) +hiera_version = ENV.fetch('HIERA_GEM_VERSION', nil) # If facter or hiera versions have been specified via the environment # variables -gems['facter'] = location_for(facter_version) if facter_version +# If PUPPET_FORGE_TOKEN is set then use authenticated source for both puppet and facter, since facter is a transitive dependency of puppet +# Otherwise, do as before and use location_for to fetch gems from the default source +if !ENV['PUPPET_FORGE_TOKEN'].to_s.empty? + gems['puppet'] = ['~> 8.11', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }] + gems['facter'] = ['~> 4.11', { require: false, source: 'https://rubygems-puppetcore.puppet.com' }] +else + gems['puppet'] = location_for(puppet_version) + gems['facter'] = location_for(facter_version) if facter_version +end gems['hiera'] = location_for(hiera_version) if hiera_version gems.each do |gem_name, gem_params| diff --git a/Rakefile b/Rakefile index 68a91f77..4dc4dc49 100644 --- a/Rakefile +++ b/Rakefile @@ -8,6 +8,14 @@ require 'puppet-strings/tasks' if Gem.loaded_specs.key? 'puppet-strings' PuppetLint.configuration.send('disable_relative') PuppetLint.configuration.send('disable_params_empty_string_assignment') +PuppetLint.configuration.send('disable_80chars') +PuppetLint.configuration.send('disable_140chars') +PuppetLint.configuration.send('disable_class_inherits_from_params_class') +PuppetLint.configuration.send('disable_autoloader_layout') +PuppetLint.configuration.send('disable_documentation') +PuppetLint.configuration.send('disable_single_quote_string_with_variables') +PuppetLint.configuration.fail_on_warnings = true +PuppetLint.configuration.ignore_paths = [".vendor/**/*.pp", ".bundle/**/*.pp", "pkg/**/*.pp", "spec/**/*.pp", "tests/**/*.pp", "types/**/*.pp", "vendor/**/*.pp"] require 'rspec/core/rake_task' namespace :kubernetes do diff --git a/metadata.json b/metadata.json index 495b0170..fad43a59 100644 --- a/metadata.json +++ b/metadata.json @@ -65,10 +65,10 @@ "requirements": [ { "name": "puppet", - "version_requirement": ">= 7.0.0 < 9.0.0" + "version_requirement": ">= 8.0.0 < 9.0.0" } ], - "pdk-version": "3.2.0", + "pdk-version": "3.5.0 (ga43db72)", "template-url": "https://github.com/puppetlabs/pdk-templates.git#main", - "template-ref": "tags/3.2.0.4-0-g5d17ec1" + "template-ref": "heads/main-0-g11c0f3d" } diff --git a/spec/classes/config/kubeadm_spec.rb b/spec/classes/config/kubeadm_spec.rb index c062a132..0bd0b81b 100644 --- a/spec/classes/config/kubeadm_spec.rb +++ b/spec/classes/config/kubeadm_spec.rb @@ -300,7 +300,7 @@ end it { - expect(subject).to contain_file('/etc/kubernetes/config.yaml') \ + is_expected.to contain_file('/etc/kubernetes/config.yaml') \ .with_content(%r{clusterName: my_own_name\n}) } end @@ -314,7 +314,7 @@ end it { - expect(subject).to contain_file('/etc/kubernetes/config.yaml') \ + is_expected.to contain_file('/etc/kubernetes/config.yaml') \ .with_content(%r{clusterName: my_own_name\n}) } end @@ -593,7 +593,7 @@ let(:config_yaml) { YAML.load_stream(catalogue.resource('file', '/etc/kubernetes/config.yaml').send(:parameters)[:content]) } it { - expect(subject).to contain_file('/etc/kubernetes/config.yaml') \ + is_expected.to contain_file('/etc/kubernetes/config.yaml') \ .with_content(%r{key: node-role.kubernetes.io/control-plane\n}) } end diff --git a/spec/classes/kube_addons_spec.rb b/spec/classes/kube_addons_spec.rb index 9338cefc..e81c6929 100644 --- a/spec/classes/kube_addons_spec.rb +++ b/spec/classes/kube_addons_spec.rb @@ -32,17 +32,21 @@ end it { - expect(subject).to contain_exec('Install calico rbac bindings').with({ - command: ['kubectl', 'apply', '-f', 'foo'], - onlyif: ['kubectl get nodes'] - }) + is_expected.to contain_exec('Install calico rbac bindings').with( + { + command: ['kubectl', 'apply', '-f', 'foo'], + onlyif: ['kubectl get nodes'] + }, + ) } it { - expect(subject).to contain_exec('Install cni network provider').with({ - command: ['kubectl', 'apply', '-f', 'https://foo.test'], - onlyif: ['kubectl get nodes'] - }) + is_expected.to contain_exec('Install cni network provider').with( + { + command: ['kubectl', 'apply', '-f', 'https://foo.test'], + onlyif: ['kubectl get nodes'] + }, + ) } it { is_expected.to contain_exec('schedule on controller') } @@ -72,10 +76,12 @@ case provider when 'calico-tigera' it { - expect(subject).to contain_exec('Install cni network (preinstall)').with({ - command: ['kubectl', 'create', '-f', 'https://foo.test/tigera-operator'], - onlyif: 'kubectl get nodes' - }) + is_expected.to contain_exec('Install cni network (preinstall)').with( + { + command: ['kubectl', 'create', '-f', 'https://foo.test/tigera-operator'], + onlyif: 'kubectl get nodes' + }, + ) } it { is_expected.to contain_file('/etc/kubernetes/calico-installation.yaml') } @@ -83,7 +89,7 @@ it { is_expected.to contain_exec('Install cni network provider') } when 'flannel' it { - expect(subject).to contain_exec('Install cni network provider').with( + is_expected.to contain_exec('Install cni network provider').with( { onlyif: ['kubectl get nodes'], command: ['kubectl', 'create', '-f', "https://#{provider}.test"], @@ -93,17 +99,21 @@ } else it { - expect(subject).to contain_exec('Install cni network provider').with({ - onlyif: ['kubectl get nodes'], - command: ['kubectl', 'apply', '-f', "https://#{provider}.test"], - unless: ['kubectl -n kube-system get daemonset | egrep "(flannel|weave|calico-node|cilium)"'] - }) + is_expected.to contain_exec('Install cni network provider').with( + { + onlyif: ['kubectl get nodes'], + command: ['kubectl', 'apply', '-f', "https://#{provider}.test"], + unless: ['kubectl -n kube-system get daemonset | egrep "(flannel|weave|calico-node|cilium)"'] + }, + ) } it { - expect(subject).not_to contain_exec('Install cni network (preinstall)').with({ - onlyif: ['kubectl get nodes'] - }) + is_expected.not_to contain_exec('Install cni network (preinstall)').with( + { + onlyif: ['kubectl get nodes'] + }, + ) } end end diff --git a/spec/classes/packages_spec.rb b/spec/classes/packages_spec.rb index 8d656dfe..f1a8bcf9 100644 --- a/spec/classes/packages_spec.rb +++ b/spec/classes/packages_spec.rb @@ -330,97 +330,97 @@ it { is_expected.to contain_file('/etc/containerd/config.toml').without_source } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*\[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*endpoint = \["https://registry-1.docker.io"\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').without_content( + is_expected.to contain_file('/etc/containerd/config.toml').without_content( %r{\s*\[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.private.example.com"\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*\[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.even-more-private.example.com"\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*endpoint = \["https://docker.even-more-private.example.com"\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*\[plugins."io.containerd.grpc.v1.cri".registry.configs."docker.private.example.com".auth\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*auth = "1azhzLXVuaXQtdGVzdDpCQ0NwNWZUUXlyd3c1aUxoMXpEQXJnUT=="\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*username = "user2"\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*password = "secret2"\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*identitytoken = "azhzLXVuaXQtdGVzdDpCQ0NwNWZUUXlyd3c1aUxoMXpEQXJnUT"\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*\[plugins."io.containerd.grpc.v1.cri".registry.configs."docker.private.example.com".tls\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*ca_file = "ca1.pem"\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*cert_file = "cert1.pem"\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*key_file = "key1.pem"\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*insecure_skip_verify = true\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*ca_file = "ca2.pem"\s*}, ) } @@ -428,7 +428,7 @@ it { is_expected.not_to contain_file('/etc/apt/preferences.d/containerd') } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\saddress = "/run/containerd/containerd.sock"}, ) } @@ -981,13 +981,13 @@ it { is_expected.to contain_file('/etc/containerd/config.toml') } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*\[plugins."io.containerd.grpc.v1.cri".registry.mirrors."docker.io"\]\s*}, ) } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\s*endpoint = \["https://registry-1.docker.io"\]\s*}, ) } @@ -1160,7 +1160,7 @@ it { is_expected.not_to contain_file('/etc/systemd/system/docker.service.d') } it { - expect(subject).to contain_file('/etc/containerd/config.toml').with_content( + is_expected.to contain_file('/etc/containerd/config.toml').with_content( %r{\saddress = "unix:///run/containerd/containerd.sock"}, ) } diff --git a/spec/classes/repos_spec.rb b/spec/classes/repos_spec.rb index e606b72a..2ed3eb9d 100644 --- a/spec/classes/repos_spec.rb +++ b/spec/classes/repos_spec.rb @@ -43,7 +43,7 @@ end it { - expect(subject).to contain_apt__source('kubernetes').with( + is_expected.to contain_apt__source('kubernetes').with( ensure: 'present', location: 'https://pkgs.k8s.io/core:/stable:/v1.32/deb/', repos: ' ', @@ -53,7 +53,7 @@ } it { - expect(subject).to contain_apt__source('docker').with( + is_expected.to contain_apt__source('docker').with( ensure: 'present', location: 'https://download.docker.com/linux/debian', repos: 'main', @@ -104,7 +104,7 @@ end it { - expect(subject).to contain_apt__source('kubernetes').with( + is_expected.to contain_apt__source('kubernetes').with( ensure: 'present', location: 'https://pkgs.k8s.io/core:/stable:/v1.32/deb/', repos: ' ', @@ -114,7 +114,7 @@ } it { - expect(subject).to contain_apt__source('docker').with( + is_expected.to contain_apt__source('docker').with( ensure: 'present', location: 'https://download.docker.com/linux/debian', repos: 'main', diff --git a/spec/classes/service_spec.rb b/spec/classes/service_spec.rb index d83f3230..27175ebf 100644 --- a/spec/classes/service_spec.rb +++ b/spec/classes/service_spec.rb @@ -105,12 +105,12 @@ end it { - expect(subject).to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ + is_expected.to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ .with_content(%r{--cloud-provider=aws}) } it { - expect(subject).not_to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ + is_expected.not_to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ .with_content(%r{--cloud-config=}) } end @@ -129,12 +129,12 @@ end it { - expect(subject).to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ + is_expected.to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ .with_content(%r{--cloud-provider=openstack}) } it { - expect(subject).to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ + is_expected.to contain_file('/etc/systemd/system/kubelet.service.d/20-cloud.conf') \ .with_content(%r{--cloud-config=/etc/kubernetes/cloud.conf}) } end diff --git a/spec/defines/kubeadm_join_spec.rb b/spec/defines/kubeadm_join_spec.rb index f3104823..3a6f0e5b 100644 --- a/spec/defines/kubeadm_join_spec.rb +++ b/spec/defines/kubeadm_join_spec.rb @@ -43,7 +43,7 @@ it { is_expected.to compile.with_all_deps } it { - expect(subject).to contain_exec('kubeadm join') + is_expected.to contain_exec('kubeadm join') .with_command("kubeadm join '10.0.0.1:6443' --discovery-token 'token' --discovery-token-ca-cert-hash 'sha256:hash' --node-name 'kube-node' --token 'token'") } end diff --git a/spec/defines/wait_for_default_sa_spec.rb b/spec/defines/wait_for_default_sa_spec.rb index 7db5ec6b..3ab68766 100644 --- a/spec/defines/wait_for_default_sa_spec.rb +++ b/spec/defines/wait_for_default_sa_spec.rb @@ -31,7 +31,7 @@ it { is_expected.to compile.with_all_deps } it { - expect(subject).to contain_exec('wait for default serviceaccount creation in default') + is_expected.to contain_exec('wait for default serviceaccount creation in default') .with_command('kubectl -n default get serviceaccount default -o name') } end @@ -47,7 +47,7 @@ it { is_expected.to compile.with_all_deps } it { - expect(subject).to contain_exec('wait for default serviceaccount creation in foo') + is_expected.to contain_exec('wait for default serviceaccount creation in foo') .with_command('kubectl -n foo get serviceaccount default -o name') .with_path(['/bar']) } @@ -82,7 +82,7 @@ it { is_expected.to compile.with_all_deps } it { - expect(subject).to contain_exec("wait for default serviceaccount creation in #{namespace}") + is_expected.to contain_exec("wait for default serviceaccount creation in #{namespace}") .with_command("kubectl -n #{namespace} get serviceaccount default -o name") } else diff --git a/tasks/swagger_k8s_create_admissionregistration_v1beta1_mutating_webhook_configuration.rb b/tasks/swagger_k8s_create_admissionregistration_v1beta1_mutating_webhook_configuration.rb index c9d50f8e..ff1e6d75 100755 --- a/tasks/swagger_k8s_create_admissionregistration_v1beta1_mutating_webhook_configuration.rb +++ b/tasks/swagger_k8s_create_admissionregistration_v1beta1_mutating_webhook_configuration.rb @@ -36,7 +36,7 @@ def create_admissionregistration_v1beta1_mutating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_admissionregistration_v1beta1_validating_webhook_configuration.rb b/tasks/swagger_k8s_create_admissionregistration_v1beta1_validating_webhook_configuration.rb index 38fb6e6f..f001aced 100755 --- a/tasks/swagger_k8s_create_admissionregistration_v1beta1_validating_webhook_configuration.rb +++ b/tasks/swagger_k8s_create_admissionregistration_v1beta1_validating_webhook_configuration.rb @@ -36,7 +36,7 @@ def create_admissionregistration_v1beta1_validating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apiextensions_v1beta1_custom_resource_definition.rb b/tasks/swagger_k8s_create_apiextensions_v1beta1_custom_resource_definition.rb index 70d9a947..ceec7a98 100755 --- a/tasks/swagger_k8s_create_apiextensions_v1beta1_custom_resource_definition.rb +++ b/tasks/swagger_k8s_create_apiextensions_v1beta1_custom_resource_definition.rb @@ -36,7 +36,7 @@ def create_apiextensions_v1beta1_custom_resource_definition(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apiregistration_v1_api_service.rb b/tasks/swagger_k8s_create_apiregistration_v1_api_service.rb index 5aad7268..f2456279 100755 --- a/tasks/swagger_k8s_create_apiregistration_v1_api_service.rb +++ b/tasks/swagger_k8s_create_apiregistration_v1_api_service.rb @@ -36,7 +36,7 @@ def create_apiregistration_v1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apiregistration_v1beta1_api_service.rb b/tasks/swagger_k8s_create_apiregistration_v1beta1_api_service.rb index c2f7e111..06c8af10 100755 --- a/tasks/swagger_k8s_create_apiregistration_v1beta1_api_service.rb +++ b/tasks/swagger_k8s_create_apiregistration_v1beta1_api_service.rb @@ -36,7 +36,7 @@ def create_apiregistration_v1beta1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1_namespaced_controller_revision.rb b/tasks/swagger_k8s_create_apps_v1_namespaced_controller_revision.rb index defd3773..b0cca39a 100755 --- a/tasks/swagger_k8s_create_apps_v1_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_create_apps_v1_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def create_apps_v1_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1_namespaced_daemon_set.rb b/tasks/swagger_k8s_create_apps_v1_namespaced_daemon_set.rb index 20863617..42305959 100755 --- a/tasks/swagger_k8s_create_apps_v1_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_create_apps_v1_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def create_apps_v1_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1_namespaced_deployment.rb b/tasks/swagger_k8s_create_apps_v1_namespaced_deployment.rb index 46fefe14..3239d3e6 100755 --- a/tasks/swagger_k8s_create_apps_v1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_create_apps_v1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def create_apps_v1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1_namespaced_replica_set.rb b/tasks/swagger_k8s_create_apps_v1_namespaced_replica_set.rb index cc43164e..26b5758d 100755 --- a/tasks/swagger_k8s_create_apps_v1_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_create_apps_v1_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def create_apps_v1_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1_namespaced_stateful_set.rb b/tasks/swagger_k8s_create_apps_v1_namespaced_stateful_set.rb index a85cce61..a27540c7 100755 --- a/tasks/swagger_k8s_create_apps_v1_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_create_apps_v1_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def create_apps_v1_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_controller_revision.rb b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_controller_revision.rb index bb03a0a8..957e16ae 100755 --- a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def create_apps_v1beta1_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment.rb b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment.rb index c68127e4..f2d0a740 100755 --- a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def create_apps_v1beta1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment_rollback.rb b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment_rollback.rb index 641144d8..54c2e95e 100755 --- a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment_rollback.rb +++ b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_deployment_rollback.rb @@ -36,7 +36,7 @@ def create_apps_v1beta1_namespaced_deployment_rollback(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_stateful_set.rb b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_stateful_set.rb index 85bf974d..df57a1ea 100755 --- a/tasks/swagger_k8s_create_apps_v1beta1_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_create_apps_v1beta1_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def create_apps_v1beta1_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_controller_revision.rb b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_controller_revision.rb index cc1e6de2..a7d3b4cb 100755 --- a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def create_apps_v1beta2_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_daemon_set.rb b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_daemon_set.rb index 15488ecf..f496f1bf 100755 --- a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def create_apps_v1beta2_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_deployment.rb b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_deployment.rb index cb7d8cdf..66774e15 100755 --- a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_deployment.rb +++ b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_deployment.rb @@ -36,7 +36,7 @@ def create_apps_v1beta2_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_replica_set.rb b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_replica_set.rb index 6ffe8e55..bc53551c 100755 --- a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def create_apps_v1beta2_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_stateful_set.rb b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_stateful_set.rb index b2a29738..389682f2 100755 --- a/tasks/swagger_k8s_create_apps_v1beta2_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_create_apps_v1beta2_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def create_apps_v1beta2_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_auditregistration_v1alpha1_audit_sink.rb b/tasks/swagger_k8s_create_auditregistration_v1alpha1_audit_sink.rb index 65b80677..03cafacf 100755 --- a/tasks/swagger_k8s_create_auditregistration_v1alpha1_audit_sink.rb +++ b/tasks/swagger_k8s_create_auditregistration_v1alpha1_audit_sink.rb @@ -36,7 +36,7 @@ def create_auditregistration_v1alpha1_audit_sink(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authentication_v1_token_review.rb b/tasks/swagger_k8s_create_authentication_v1_token_review.rb index 6a62ff3a..a67535b1 100755 --- a/tasks/swagger_k8s_create_authentication_v1_token_review.rb +++ b/tasks/swagger_k8s_create_authentication_v1_token_review.rb @@ -36,7 +36,7 @@ def create_authentication_v1_token_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authentication_v1beta1_token_review.rb b/tasks/swagger_k8s_create_authentication_v1beta1_token_review.rb index cce32a6b..349258f2 100755 --- a/tasks/swagger_k8s_create_authentication_v1beta1_token_review.rb +++ b/tasks/swagger_k8s_create_authentication_v1beta1_token_review.rb @@ -36,7 +36,7 @@ def create_authentication_v1beta1_token_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1_namespaced_local_subject_access_review.rb b/tasks/swagger_k8s_create_authorization_v1_namespaced_local_subject_access_review.rb index 35438309..1c5cfc23 100755 --- a/tasks/swagger_k8s_create_authorization_v1_namespaced_local_subject_access_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1_namespaced_local_subject_access_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1_namespaced_local_subject_access_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1_self_subject_access_review.rb b/tasks/swagger_k8s_create_authorization_v1_self_subject_access_review.rb index b8eec273..0b417679 100755 --- a/tasks/swagger_k8s_create_authorization_v1_self_subject_access_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1_self_subject_access_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1_self_subject_access_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1_self_subject_rules_review.rb b/tasks/swagger_k8s_create_authorization_v1_self_subject_rules_review.rb index f9232627..088dcf7e 100755 --- a/tasks/swagger_k8s_create_authorization_v1_self_subject_rules_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1_self_subject_rules_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1_self_subject_rules_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1_subject_access_review.rb b/tasks/swagger_k8s_create_authorization_v1_subject_access_review.rb index 7d2c0e24..5ba83e35 100755 --- a/tasks/swagger_k8s_create_authorization_v1_subject_access_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1_subject_access_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1_subject_access_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1beta1_namespaced_local_subject_access_review.rb b/tasks/swagger_k8s_create_authorization_v1beta1_namespaced_local_subject_access_review.rb index a696246a..197bd604 100755 --- a/tasks/swagger_k8s_create_authorization_v1beta1_namespaced_local_subject_access_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1beta1_namespaced_local_subject_access_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1beta1_namespaced_local_subject_access_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_access_review.rb b/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_access_review.rb index c3e70cc0..af972b4f 100755 --- a/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_access_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_access_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1beta1_self_subject_access_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_rules_review.rb b/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_rules_review.rb index cd59a82a..a6adf88e 100755 --- a/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_rules_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1beta1_self_subject_rules_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1beta1_self_subject_rules_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_authorization_v1beta1_subject_access_review.rb b/tasks/swagger_k8s_create_authorization_v1beta1_subject_access_review.rb index cbecf919..3b01a306 100755 --- a/tasks/swagger_k8s_create_authorization_v1beta1_subject_access_review.rb +++ b/tasks/swagger_k8s_create_authorization_v1beta1_subject_access_review.rb @@ -36,7 +36,7 @@ def create_authorization_v1beta1_subject_access_review(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb index fbe2a19e..3ad45e6f 100755 --- a/tasks/swagger_k8s_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_create_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def create_autoscaling_v1_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb index aa5325b9..6bbe0b56 100755 --- a/tasks/swagger_k8s_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def create_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb index 8e6cf123..152f7438 100755 --- a/tasks/swagger_k8s_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def create_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_batch_v1_namespaced_job.rb b/tasks/swagger_k8s_create_batch_v1_namespaced_job.rb index 5a48de3c..17cd2c50 100755 --- a/tasks/swagger_k8s_create_batch_v1_namespaced_job.rb +++ b/tasks/swagger_k8s_create_batch_v1_namespaced_job.rb @@ -36,7 +36,7 @@ def create_batch_v1_namespaced_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_batch_v1beta1_namespaced_cron_job.rb b/tasks/swagger_k8s_create_batch_v1beta1_namespaced_cron_job.rb index 7252ce55..1153cc3c 100755 --- a/tasks/swagger_k8s_create_batch_v1beta1_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_create_batch_v1beta1_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def create_batch_v1beta1_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_batch_v2alpha1_namespaced_cron_job.rb b/tasks/swagger_k8s_create_batch_v2alpha1_namespaced_cron_job.rb index d0e6193d..fb1c01d0 100755 --- a/tasks/swagger_k8s_create_batch_v2alpha1_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_create_batch_v2alpha1_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def create_batch_v2alpha1_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_certificates_v1beta1_certificate_signing_request.rb b/tasks/swagger_k8s_create_certificates_v1beta1_certificate_signing_request.rb index 4bbff4b4..a99abb8d 100755 --- a/tasks/swagger_k8s_create_certificates_v1beta1_certificate_signing_request.rb +++ b/tasks/swagger_k8s_create_certificates_v1beta1_certificate_signing_request.rb @@ -36,7 +36,7 @@ def create_certificates_v1beta1_certificate_signing_request(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_coordination_v1_namespaced_lease.rb b/tasks/swagger_k8s_create_coordination_v1_namespaced_lease.rb index b4cb56f1..d2ab8484 100755 --- a/tasks/swagger_k8s_create_coordination_v1_namespaced_lease.rb +++ b/tasks/swagger_k8s_create_coordination_v1_namespaced_lease.rb @@ -36,7 +36,7 @@ def create_coordination_v1_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_coordination_v1beta1_namespaced_lease.rb b/tasks/swagger_k8s_create_coordination_v1beta1_namespaced_lease.rb index ce0fbfff..8cd6b9bc 100755 --- a/tasks/swagger_k8s_create_coordination_v1beta1_namespaced_lease.rb +++ b/tasks/swagger_k8s_create_coordination_v1beta1_namespaced_lease.rb @@ -36,7 +36,7 @@ def create_coordination_v1beta1_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespace.rb b/tasks/swagger_k8s_create_core_v1_namespace.rb index e1da3d46..d7a42381 100755 --- a/tasks/swagger_k8s_create_core_v1_namespace.rb +++ b/tasks/swagger_k8s_create_core_v1_namespace.rb @@ -36,7 +36,7 @@ def create_core_v1_namespace(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_binding.rb b/tasks/swagger_k8s_create_core_v1_namespaced_binding.rb index 3f84ca08..bfa3e05f 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_binding.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_binding.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_config_map.rb b/tasks/swagger_k8s_create_core_v1_namespaced_config_map.rb index 375b7a24..09d07cae 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_config_map.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_config_map.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_config_map(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_endpoints.rb b/tasks/swagger_k8s_create_core_v1_namespaced_endpoints.rb index fc4c6c0e..653b184e 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_endpoints.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_endpoints.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_endpoints(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_event.rb b/tasks/swagger_k8s_create_core_v1_namespaced_event.rb index 8cfe3c24..46ee57f0 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_event.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_event.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_limit_range.rb b/tasks/swagger_k8s_create_core_v1_namespaced_limit_range.rb index 018496ed..b04d651c 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_limit_range.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_limit_range.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_limit_range(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_persistent_volume_claim.rb b/tasks/swagger_k8s_create_core_v1_namespaced_persistent_volume_claim.rb index 670dc753..22a8fd3e 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_persistent_volume_claim.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_persistent_volume_claim.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_persistent_volume_claim(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_pod.rb b/tasks/swagger_k8s_create_core_v1_namespaced_pod.rb index c07240b6..786b8b70 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_pod.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_pod.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_pod(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_pod_binding.rb b/tasks/swagger_k8s_create_core_v1_namespaced_pod_binding.rb index ddd6d5b4..eeef5af9 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_pod_binding.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_pod_binding.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_pod_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_pod_eviction.rb b/tasks/swagger_k8s_create_core_v1_namespaced_pod_eviction.rb index a3fc7cb1..1734e8a4 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_pod_eviction.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_pod_eviction.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_pod_eviction(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_pod_template.rb b/tasks/swagger_k8s_create_core_v1_namespaced_pod_template.rb index 31016e89..e65a223e 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_pod_template.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_pod_template.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_pod_template(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_replication_controller.rb b/tasks/swagger_k8s_create_core_v1_namespaced_replication_controller.rb index 11bbd40f..b5728caa 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_replication_controller.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_replication_controller.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_replication_controller(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_resource_quota.rb b/tasks/swagger_k8s_create_core_v1_namespaced_resource_quota.rb index 2cd0ab90..46fbabed 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_resource_quota.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_resource_quota.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_resource_quota(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_secret.rb b/tasks/swagger_k8s_create_core_v1_namespaced_secret.rb index 0fccca27..90914f77 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_secret.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_secret.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_secret(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_service.rb b/tasks/swagger_k8s_create_core_v1_namespaced_service.rb index 1d630804..24d43f3d 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_service.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_service.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_namespaced_service_account.rb b/tasks/swagger_k8s_create_core_v1_namespaced_service_account.rb index 47352967..16809502 100755 --- a/tasks/swagger_k8s_create_core_v1_namespaced_service_account.rb +++ b/tasks/swagger_k8s_create_core_v1_namespaced_service_account.rb @@ -36,7 +36,7 @@ def create_core_v1_namespaced_service_account(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_node.rb b/tasks/swagger_k8s_create_core_v1_node.rb index 8cdf916c..0d39df53 100755 --- a/tasks/swagger_k8s_create_core_v1_node.rb +++ b/tasks/swagger_k8s_create_core_v1_node.rb @@ -36,7 +36,7 @@ def create_core_v1_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_core_v1_persistent_volume.rb b/tasks/swagger_k8s_create_core_v1_persistent_volume.rb index 3b64cd8a..f9546b63 100755 --- a/tasks/swagger_k8s_create_core_v1_persistent_volume.rb +++ b/tasks/swagger_k8s_create_core_v1_persistent_volume.rb @@ -36,7 +36,7 @@ def create_core_v1_persistent_volume(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_events_v1beta1_namespaced_event.rb b/tasks/swagger_k8s_create_events_v1beta1_namespaced_event.rb index 2a16b780..8a24b8a0 100755 --- a/tasks/swagger_k8s_create_events_v1beta1_namespaced_event.rb +++ b/tasks/swagger_k8s_create_events_v1beta1_namespaced_event.rb @@ -36,7 +36,7 @@ def create_events_v1beta1_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_daemon_set.rb b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_daemon_set.rb index 09b21bcc..b4e2426c 100755 --- a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def create_extensions_v1beta1_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment.rb b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment.rb index 058ff4cb..c4bae35c 100755 --- a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment.rb @@ -37,7 +37,7 @@ def create_extensions_v1beta1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -77,7 +77,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment_rollback.rb b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment_rollback.rb index 445eabb0..832d7888 100755 --- a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment_rollback.rb +++ b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_deployment_rollback.rb @@ -36,7 +36,7 @@ def create_extensions_v1beta1_namespaced_deployment_rollback(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_ingress.rb b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_ingress.rb index 6d01d464..d861c222 100755 --- a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_ingress.rb +++ b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_ingress.rb @@ -36,7 +36,7 @@ def create_extensions_v1beta1_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_network_policy.rb b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_network_policy.rb index ba6ef2db..aa41e0aa 100755 --- a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def create_extensions_v1beta1_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_replica_set.rb b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_replica_set.rb index 9b8fe7fe..7d243723 100755 --- a/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_create_extensions_v1beta1_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def create_extensions_v1beta1_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_extensions_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_create_extensions_v1beta1_pod_security_policy.rb index 2c1abd73..a2fdc06b 100755 --- a/tasks/swagger_k8s_create_extensions_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_create_extensions_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def create_extensions_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_networking_v1_namespaced_network_policy.rb b/tasks/swagger_k8s_create_networking_v1_namespaced_network_policy.rb index 1f90a1ae..8180bd8b 100755 --- a/tasks/swagger_k8s_create_networking_v1_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_create_networking_v1_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def create_networking_v1_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_networking_v1beta1_namespaced_ingress.rb b/tasks/swagger_k8s_create_networking_v1beta1_namespaced_ingress.rb index d58e9667..7e961fe2 100755 --- a/tasks/swagger_k8s_create_networking_v1beta1_namespaced_ingress.rb +++ b/tasks/swagger_k8s_create_networking_v1beta1_namespaced_ingress.rb @@ -36,7 +36,7 @@ def create_networking_v1beta1_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_node_v1alpha1_runtime_class.rb b/tasks/swagger_k8s_create_node_v1alpha1_runtime_class.rb index ff69b8fd..cec1ab61 100755 --- a/tasks/swagger_k8s_create_node_v1alpha1_runtime_class.rb +++ b/tasks/swagger_k8s_create_node_v1alpha1_runtime_class.rb @@ -36,7 +36,7 @@ def create_node_v1alpha1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_node_v1beta1_runtime_class.rb b/tasks/swagger_k8s_create_node_v1beta1_runtime_class.rb index 07065ecd..d1d53854 100755 --- a/tasks/swagger_k8s_create_node_v1beta1_runtime_class.rb +++ b/tasks/swagger_k8s_create_node_v1beta1_runtime_class.rb @@ -36,7 +36,7 @@ def create_node_v1beta1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_policy_v1beta1_namespaced_pod_disruption_budget.rb b/tasks/swagger_k8s_create_policy_v1beta1_namespaced_pod_disruption_budget.rb index 42b607ae..b95f1ac3 100755 --- a/tasks/swagger_k8s_create_policy_v1beta1_namespaced_pod_disruption_budget.rb +++ b/tasks/swagger_k8s_create_policy_v1beta1_namespaced_pod_disruption_budget.rb @@ -36,7 +36,7 @@ def create_policy_v1beta1_namespaced_pod_disruption_budget(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_policy_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_create_policy_v1beta1_pod_security_policy.rb index f303ce27..544d3823 100755 --- a/tasks/swagger_k8s_create_policy_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_create_policy_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def create_policy_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role.rb b/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role.rb index f259f8dd..b2d0b5ae 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role_binding.rb b/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role_binding.rb index f942fb80..e37ff5a5 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role.rb b/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role.rb index 0b4efed4..a24f7a1a 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role_binding.rb b/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role_binding.rb index 9c2873b1..d2e32a2e 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role.rb b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role.rb index f1f2fff6..1958c0cc 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1alpha1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role_binding.rb b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role_binding.rb index ebabf4a5..567dca30 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1alpha1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role.rb b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role.rb index 35128e92..503b6fad 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1alpha1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role_binding.rb b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role_binding.rb index 079a445f..4bdc0cb7 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1alpha1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1alpha1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role.rb b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role.rb index ebc24534..67cda778 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1beta1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role_binding.rb b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role_binding.rb index a1dab8b1..38cb0fb6 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1beta1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role.rb b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role.rb index 6379f037..932970fa 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1beta1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role_binding.rb b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role_binding.rb index 0df439ca..02a4de5a 100755 --- a/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_create_rbac_authorization_v1beta1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def create_rbac_authorization_v1beta1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_scheduling_v1_priority_class.rb b/tasks/swagger_k8s_create_scheduling_v1_priority_class.rb index f61fc67a..3095beb7 100755 --- a/tasks/swagger_k8s_create_scheduling_v1_priority_class.rb +++ b/tasks/swagger_k8s_create_scheduling_v1_priority_class.rb @@ -36,7 +36,7 @@ def create_scheduling_v1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_scheduling_v1alpha1_priority_class.rb b/tasks/swagger_k8s_create_scheduling_v1alpha1_priority_class.rb index 3cb0292e..96a2e868 100755 --- a/tasks/swagger_k8s_create_scheduling_v1alpha1_priority_class.rb +++ b/tasks/swagger_k8s_create_scheduling_v1alpha1_priority_class.rb @@ -36,7 +36,7 @@ def create_scheduling_v1alpha1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_scheduling_v1beta1_priority_class.rb b/tasks/swagger_k8s_create_scheduling_v1beta1_priority_class.rb index 362d4e84..45ce2dcc 100755 --- a/tasks/swagger_k8s_create_scheduling_v1beta1_priority_class.rb +++ b/tasks/swagger_k8s_create_scheduling_v1beta1_priority_class.rb @@ -36,7 +36,7 @@ def create_scheduling_v1beta1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_settings_v1alpha1_namespaced_pod_preset.rb b/tasks/swagger_k8s_create_settings_v1alpha1_namespaced_pod_preset.rb index 78e4e44d..6d7fb909 100755 --- a/tasks/swagger_k8s_create_settings_v1alpha1_namespaced_pod_preset.rb +++ b/tasks/swagger_k8s_create_settings_v1alpha1_namespaced_pod_preset.rb @@ -36,7 +36,7 @@ def create_settings_v1alpha1_namespaced_pod_preset(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_storage_v1_storage_class.rb b/tasks/swagger_k8s_create_storage_v1_storage_class.rb index 1461a27d..7b1038f0 100755 --- a/tasks/swagger_k8s_create_storage_v1_storage_class.rb +++ b/tasks/swagger_k8s_create_storage_v1_storage_class.rb @@ -36,7 +36,7 @@ def create_storage_v1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_storage_v1_volume_attachment.rb b/tasks/swagger_k8s_create_storage_v1_volume_attachment.rb index e2150181..4aad9922 100755 --- a/tasks/swagger_k8s_create_storage_v1_volume_attachment.rb +++ b/tasks/swagger_k8s_create_storage_v1_volume_attachment.rb @@ -36,7 +36,7 @@ def create_storage_v1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_storage_v1alpha1_volume_attachment.rb b/tasks/swagger_k8s_create_storage_v1alpha1_volume_attachment.rb index a3e5e844..778b0b51 100755 --- a/tasks/swagger_k8s_create_storage_v1alpha1_volume_attachment.rb +++ b/tasks/swagger_k8s_create_storage_v1alpha1_volume_attachment.rb @@ -36,7 +36,7 @@ def create_storage_v1alpha1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_storage_v1beta1_csi_driver.rb b/tasks/swagger_k8s_create_storage_v1beta1_csi_driver.rb index aa4a80dd..7268367b 100755 --- a/tasks/swagger_k8s_create_storage_v1beta1_csi_driver.rb +++ b/tasks/swagger_k8s_create_storage_v1beta1_csi_driver.rb @@ -36,7 +36,7 @@ def create_storage_v1beta1_csi_driver(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_storage_v1beta1_csi_node.rb b/tasks/swagger_k8s_create_storage_v1beta1_csi_node.rb index dafe806f..665ad63f 100755 --- a/tasks/swagger_k8s_create_storage_v1beta1_csi_node.rb +++ b/tasks/swagger_k8s_create_storage_v1beta1_csi_node.rb @@ -36,7 +36,7 @@ def create_storage_v1beta1_csi_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_storage_v1beta1_storage_class.rb b/tasks/swagger_k8s_create_storage_v1beta1_storage_class.rb index a8b6c645..395fa270 100755 --- a/tasks/swagger_k8s_create_storage_v1beta1_storage_class.rb +++ b/tasks/swagger_k8s_create_storage_v1beta1_storage_class.rb @@ -36,7 +36,7 @@ def create_storage_v1beta1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_create_storage_v1beta1_volume_attachment.rb b/tasks/swagger_k8s_create_storage_v1beta1_volume_attachment.rb index eb007464..ec9da69f 100755 --- a/tasks/swagger_k8s_create_storage_v1beta1_volume_attachment.rb +++ b/tasks/swagger_k8s_create_storage_v1beta1_volume_attachment.rb @@ -36,7 +36,7 @@ def create_storage_v1beta1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration.rb b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration.rb index 70a4df14..3f4152c0 100755 --- a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration.rb +++ b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_mutating_webhook_configuration.rb @@ -36,7 +36,7 @@ def delete_admissionregistration_v1beta1_collection_mutating_webhook_configurati verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration.rb b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration.rb index 653209c5..56bbc8c8 100755 --- a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration.rb +++ b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_collection_validating_webhook_configuration.rb @@ -36,7 +36,7 @@ def delete_admissionregistration_v1beta1_collection_validating_webhook_configura verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_mutating_webhook_configuration.rb b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_mutating_webhook_configuration.rb index 4d10c1b0..eb2abf48 100755 --- a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_mutating_webhook_configuration.rb +++ b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_mutating_webhook_configuration.rb @@ -36,7 +36,7 @@ def delete_admissionregistration_v1beta1_mutating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_validating_webhook_configuration.rb b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_validating_webhook_configuration.rb index d1973fab..754af7dc 100755 --- a/tasks/swagger_k8s_delete_admissionregistration_v1beta1_validating_webhook_configuration.rb +++ b/tasks/swagger_k8s_delete_admissionregistration_v1beta1_validating_webhook_configuration.rb @@ -36,7 +36,7 @@ def delete_admissionregistration_v1beta1_validating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apiextensions_v1beta1_collection_custom_resource_definition.rb b/tasks/swagger_k8s_delete_apiextensions_v1beta1_collection_custom_resource_definition.rb index 4daa9d11..4b375cfb 100755 --- a/tasks/swagger_k8s_delete_apiextensions_v1beta1_collection_custom_resource_definition.rb +++ b/tasks/swagger_k8s_delete_apiextensions_v1beta1_collection_custom_resource_definition.rb @@ -36,7 +36,7 @@ def delete_apiextensions_v1beta1_collection_custom_resource_definition(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apiextensions_v1beta1_custom_resource_definition.rb b/tasks/swagger_k8s_delete_apiextensions_v1beta1_custom_resource_definition.rb index 1571e267..3a58a39a 100755 --- a/tasks/swagger_k8s_delete_apiextensions_v1beta1_custom_resource_definition.rb +++ b/tasks/swagger_k8s_delete_apiextensions_v1beta1_custom_resource_definition.rb @@ -36,7 +36,7 @@ def delete_apiextensions_v1beta1_custom_resource_definition(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apiregistration_v1_api_service.rb b/tasks/swagger_k8s_delete_apiregistration_v1_api_service.rb index 89f0120d..cb11cfd3 100755 --- a/tasks/swagger_k8s_delete_apiregistration_v1_api_service.rb +++ b/tasks/swagger_k8s_delete_apiregistration_v1_api_service.rb @@ -36,7 +36,7 @@ def delete_apiregistration_v1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apiregistration_v1_collection_api_service.rb b/tasks/swagger_k8s_delete_apiregistration_v1_collection_api_service.rb index 311c6cd3..09bd527f 100755 --- a/tasks/swagger_k8s_delete_apiregistration_v1_collection_api_service.rb +++ b/tasks/swagger_k8s_delete_apiregistration_v1_collection_api_service.rb @@ -36,7 +36,7 @@ def delete_apiregistration_v1_collection_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apiregistration_v1beta1_api_service.rb b/tasks/swagger_k8s_delete_apiregistration_v1beta1_api_service.rb index 2f8d39c5..6422251b 100755 --- a/tasks/swagger_k8s_delete_apiregistration_v1beta1_api_service.rb +++ b/tasks/swagger_k8s_delete_apiregistration_v1beta1_api_service.rb @@ -36,7 +36,7 @@ def delete_apiregistration_v1beta1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apiregistration_v1beta1_collection_api_service.rb b/tasks/swagger_k8s_delete_apiregistration_v1beta1_collection_api_service.rb index c53aa620..0390ac7e 100755 --- a/tasks/swagger_k8s_delete_apiregistration_v1beta1_collection_api_service.rb +++ b/tasks/swagger_k8s_delete_apiregistration_v1beta1_collection_api_service.rb @@ -36,7 +36,7 @@ def delete_apiregistration_v1beta1_collection_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_controller_revision.rb b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_controller_revision.rb index 3c7046e6..ea159227 100755 --- a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def delete_apps_v1_collection_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_daemon_set.rb b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_daemon_set.rb index 58738b8a..6528533f 100755 --- a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1_collection_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_deployment.rb b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_deployment.rb index 0087730f..8438bc09 100755 --- a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_apps_v1_collection_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_replica_set.rb b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_replica_set.rb index b8693eb1..ef1108b1 100755 --- a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1_collection_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_stateful_set.rb b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_stateful_set.rb index d5c4c720..7d1e103b 100755 --- a/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1_collection_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1_collection_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_namespaced_controller_revision.rb b/tasks/swagger_k8s_delete_apps_v1_namespaced_controller_revision.rb index 02a6c3f8..2d6f2c58 100755 --- a/tasks/swagger_k8s_delete_apps_v1_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_delete_apps_v1_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def delete_apps_v1_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_namespaced_daemon_set.rb b/tasks/swagger_k8s_delete_apps_v1_namespaced_daemon_set.rb index f241c788..b22c6d3c 100755 --- a/tasks/swagger_k8s_delete_apps_v1_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_namespaced_deployment.rb b/tasks/swagger_k8s_delete_apps_v1_namespaced_deployment.rb index 6160e98f..c1f6c16d 100755 --- a/tasks/swagger_k8s_delete_apps_v1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_apps_v1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_apps_v1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_namespaced_replica_set.rb b/tasks/swagger_k8s_delete_apps_v1_namespaced_replica_set.rb index f1bb82a9..8e08ec65 100755 --- a/tasks/swagger_k8s_delete_apps_v1_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1_namespaced_stateful_set.rb b/tasks/swagger_k8s_delete_apps_v1_namespaced_stateful_set.rb index 6e239bba..ac46835c 100755 --- a/tasks/swagger_k8s_delete_apps_v1_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_controller_revision.rb b/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_controller_revision.rb index 3b480749..54f0ac30 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta1_collection_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_deployment.rb b/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_deployment.rb index b7d21260..03d3effa 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta1_collection_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_stateful_set.rb b/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_stateful_set.rb index 38ebddc2..5dcbbcfb 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta1_collection_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta1_collection_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_controller_revision.rb b/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_controller_revision.rb index 1348cd2d..fad2aa7a 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta1_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_deployment.rb b/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_deployment.rb index f633d5a5..d45f43b8 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_stateful_set.rb b/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_stateful_set.rb index 402c1924..09ee9c82 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta1_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta1_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_controller_revision.rb b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_controller_revision.rb index a8f37832..e7a5db35 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_collection_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_daemon_set.rb b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_daemon_set.rb index fb303834..7c71813f 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_collection_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_deployment.rb b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_deployment.rb index fcc9f04d..eb948799 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_collection_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_replica_set.rb b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_replica_set.rb index b680d887..443c521a 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_collection_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_stateful_set.rb b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_stateful_set.rb index 0c7375a7..055ac2dc 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_collection_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_collection_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_controller_revision.rb b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_controller_revision.rb index 194bed09..2097b083 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_daemon_set.rb b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_daemon_set.rb index 87a1acea..169c278a 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_deployment.rb b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_deployment.rb index 0de38711..21b20b93 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_replica_set.rb b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_replica_set.rb index 10930f8c..0e6962e8 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_stateful_set.rb b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_stateful_set.rb index e7810218..5e0badd4 100755 --- a/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_delete_apps_v1beta2_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def delete_apps_v1beta2_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_auditregistration_v1alpha1_audit_sink.rb b/tasks/swagger_k8s_delete_auditregistration_v1alpha1_audit_sink.rb index 7f09f324..ffe3442a 100755 --- a/tasks/swagger_k8s_delete_auditregistration_v1alpha1_audit_sink.rb +++ b/tasks/swagger_k8s_delete_auditregistration_v1alpha1_audit_sink.rb @@ -36,7 +36,7 @@ def delete_auditregistration_v1alpha1_audit_sink(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_auditregistration_v1alpha1_collection_audit_sink.rb b/tasks/swagger_k8s_delete_auditregistration_v1alpha1_collection_audit_sink.rb index 6697ebdf..f120a853 100755 --- a/tasks/swagger_k8s_delete_auditregistration_v1alpha1_collection_audit_sink.rb +++ b/tasks/swagger_k8s_delete_auditregistration_v1alpha1_collection_audit_sink.rb @@ -36,7 +36,7 @@ def delete_auditregistration_v1alpha1_collection_audit_sink(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler.rb index d6f8612a..a1e55c5b 100755 --- a/tasks/swagger_k8s_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def delete_autoscaling_v1_collection_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb index df1ab2d7..fdcc000e 100755 --- a/tasks/swagger_k8s_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def delete_autoscaling_v1_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler.rb index 0d6703c9..415a672c 100755 --- a/tasks/swagger_k8s_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def delete_autoscaling_v2beta1_collection_namespaced_horizontal_pod_autoscaler(* verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb index c2a931d6..7dd159e0 100755 --- a/tasks/swagger_k8s_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def delete_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler.rb index 8ba5d2de..68341e37 100755 --- a/tasks/swagger_k8s_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def delete_autoscaling_v2beta2_collection_namespaced_horizontal_pod_autoscaler(* verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb index 412593b7..f0a00742 100755 --- a/tasks/swagger_k8s_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def delete_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_batch_v1_collection_namespaced_job.rb b/tasks/swagger_k8s_delete_batch_v1_collection_namespaced_job.rb index 72066148..cfc8726e 100755 --- a/tasks/swagger_k8s_delete_batch_v1_collection_namespaced_job.rb +++ b/tasks/swagger_k8s_delete_batch_v1_collection_namespaced_job.rb @@ -36,7 +36,7 @@ def delete_batch_v1_collection_namespaced_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_batch_v1_namespaced_job.rb b/tasks/swagger_k8s_delete_batch_v1_namespaced_job.rb index 0afe2125..892403c9 100755 --- a/tasks/swagger_k8s_delete_batch_v1_namespaced_job.rb +++ b/tasks/swagger_k8s_delete_batch_v1_namespaced_job.rb @@ -36,7 +36,7 @@ def delete_batch_v1_namespaced_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_batch_v1beta1_collection_namespaced_cron_job.rb b/tasks/swagger_k8s_delete_batch_v1beta1_collection_namespaced_cron_job.rb index 44d5e511..22c6400d 100755 --- a/tasks/swagger_k8s_delete_batch_v1beta1_collection_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_delete_batch_v1beta1_collection_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def delete_batch_v1beta1_collection_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_batch_v1beta1_namespaced_cron_job.rb b/tasks/swagger_k8s_delete_batch_v1beta1_namespaced_cron_job.rb index 1321c544..0bdedc70 100755 --- a/tasks/swagger_k8s_delete_batch_v1beta1_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_delete_batch_v1beta1_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def delete_batch_v1beta1_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_batch_v2alpha1_collection_namespaced_cron_job.rb b/tasks/swagger_k8s_delete_batch_v2alpha1_collection_namespaced_cron_job.rb index 738865f0..a83b5049 100755 --- a/tasks/swagger_k8s_delete_batch_v2alpha1_collection_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_delete_batch_v2alpha1_collection_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def delete_batch_v2alpha1_collection_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_batch_v2alpha1_namespaced_cron_job.rb b/tasks/swagger_k8s_delete_batch_v2alpha1_namespaced_cron_job.rb index 15916077..21c79506 100755 --- a/tasks/swagger_k8s_delete_batch_v2alpha1_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_delete_batch_v2alpha1_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def delete_batch_v2alpha1_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_certificates_v1beta1_certificate_signing_request.rb b/tasks/swagger_k8s_delete_certificates_v1beta1_certificate_signing_request.rb index 11b295e0..06dfbdb5 100755 --- a/tasks/swagger_k8s_delete_certificates_v1beta1_certificate_signing_request.rb +++ b/tasks/swagger_k8s_delete_certificates_v1beta1_certificate_signing_request.rb @@ -36,7 +36,7 @@ def delete_certificates_v1beta1_certificate_signing_request(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_certificates_v1beta1_collection_certificate_signing_request.rb b/tasks/swagger_k8s_delete_certificates_v1beta1_collection_certificate_signing_request.rb index 1dfa268e..acc73ea4 100755 --- a/tasks/swagger_k8s_delete_certificates_v1beta1_collection_certificate_signing_request.rb +++ b/tasks/swagger_k8s_delete_certificates_v1beta1_collection_certificate_signing_request.rb @@ -36,7 +36,7 @@ def delete_certificates_v1beta1_collection_certificate_signing_request(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_coordination_v1_collection_namespaced_lease.rb b/tasks/swagger_k8s_delete_coordination_v1_collection_namespaced_lease.rb index 5e4552db..55bc10c8 100755 --- a/tasks/swagger_k8s_delete_coordination_v1_collection_namespaced_lease.rb +++ b/tasks/swagger_k8s_delete_coordination_v1_collection_namespaced_lease.rb @@ -36,7 +36,7 @@ def delete_coordination_v1_collection_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_coordination_v1_namespaced_lease.rb b/tasks/swagger_k8s_delete_coordination_v1_namespaced_lease.rb index 3c112884..aa3e79db 100755 --- a/tasks/swagger_k8s_delete_coordination_v1_namespaced_lease.rb +++ b/tasks/swagger_k8s_delete_coordination_v1_namespaced_lease.rb @@ -36,7 +36,7 @@ def delete_coordination_v1_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_coordination_v1beta1_collection_namespaced_lease.rb b/tasks/swagger_k8s_delete_coordination_v1beta1_collection_namespaced_lease.rb index cce64b81..bd21f07e 100755 --- a/tasks/swagger_k8s_delete_coordination_v1beta1_collection_namespaced_lease.rb +++ b/tasks/swagger_k8s_delete_coordination_v1beta1_collection_namespaced_lease.rb @@ -36,7 +36,7 @@ def delete_coordination_v1beta1_collection_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_coordination_v1beta1_namespaced_lease.rb b/tasks/swagger_k8s_delete_coordination_v1beta1_namespaced_lease.rb index e1b0211b..795809c0 100755 --- a/tasks/swagger_k8s_delete_coordination_v1beta1_namespaced_lease.rb +++ b/tasks/swagger_k8s_delete_coordination_v1beta1_namespaced_lease.rb @@ -36,7 +36,7 @@ def delete_coordination_v1beta1_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_config_map.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_config_map.rb index 7fea99ac..e201db2b 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_config_map.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_config_map.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_config_map(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_endpoints.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_endpoints.rb index a6c3ffcd..41d96698 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_endpoints.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_endpoints.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_endpoints(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_event.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_event.rb index 4c114f81..5d389976 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_event.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_event.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_limit_range.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_limit_range.rb index ed98c43e..c63f31b0 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_limit_range.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_limit_range.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_limit_range(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_persistent_volume_claim.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_persistent_volume_claim.rb index 0b675158..154900d1 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_persistent_volume_claim.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_persistent_volume_claim.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_persistent_volume_claim(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod.rb index c78a09ce..da1faaea 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_pod(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod_template.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod_template.rb index ccdec3c5..3c720b4b 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod_template.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_pod_template.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_pod_template(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_replication_controller.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_replication_controller.rb index cb737685..3274f6d0 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_replication_controller.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_replication_controller.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_replication_controller(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_resource_quota.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_resource_quota.rb index ac60c663..434952ad 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_resource_quota.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_resource_quota.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_resource_quota(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_secret.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_secret.rb index 2e4805cd..a9d1804b 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_secret.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_secret.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_secret(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_service_account.rb b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_service_account.rb index 11b75715..ee67f216 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_namespaced_service_account.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_namespaced_service_account.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_namespaced_service_account(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_node.rb b/tasks/swagger_k8s_delete_core_v1_collection_node.rb index 7bb25beb..e24667ab 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_node.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_node.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_collection_persistent_volume.rb b/tasks/swagger_k8s_delete_core_v1_collection_persistent_volume.rb index a513cfcc..642e06bb 100755 --- a/tasks/swagger_k8s_delete_core_v1_collection_persistent_volume.rb +++ b/tasks/swagger_k8s_delete_core_v1_collection_persistent_volume.rb @@ -36,7 +36,7 @@ def delete_core_v1_collection_persistent_volume(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespace.rb b/tasks/swagger_k8s_delete_core_v1_namespace.rb index b288ac5f..2a3feffb 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespace.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespace.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespace(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_config_map.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_config_map.rb index 35c7b0c2..2b56c24d 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_config_map.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_config_map.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_config_map(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_endpoints.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_endpoints.rb index 3e13699a..5a9761e6 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_endpoints.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_endpoints.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_endpoints(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_event.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_event.rb index 322dd58a..4e357ab6 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_event.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_event.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_limit_range.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_limit_range.rb index e2d935b0..14625368 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_limit_range.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_limit_range.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_limit_range(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_persistent_volume_claim.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_persistent_volume_claim.rb index eeb26b04..fd85b53d 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_persistent_volume_claim.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_persistent_volume_claim.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_persistent_volume_claim(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_pod.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_pod.rb index ea63db8b..616b8d79 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_pod.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_pod.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_pod(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_pod_template.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_pod_template.rb index 63ba8e7b..458a193b 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_pod_template.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_pod_template.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_pod_template(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_replication_controller.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_replication_controller.rb index 370acfe5..dac64e64 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_replication_controller.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_replication_controller.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_replication_controller(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_resource_quota.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_resource_quota.rb index 2d2721fe..9bd20e40 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_resource_quota.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_resource_quota.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_resource_quota(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_secret.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_secret.rb index 31830fad..5ede66f4 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_secret.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_secret.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_secret(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_service.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_service.rb index e1704af5..4d790f1d 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_service.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_service.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_namespaced_service_account.rb b/tasks/swagger_k8s_delete_core_v1_namespaced_service_account.rb index a34a3628..1528c727 100755 --- a/tasks/swagger_k8s_delete_core_v1_namespaced_service_account.rb +++ b/tasks/swagger_k8s_delete_core_v1_namespaced_service_account.rb @@ -36,7 +36,7 @@ def delete_core_v1_namespaced_service_account(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_node.rb b/tasks/swagger_k8s_delete_core_v1_node.rb index fa33f699..204f32e6 100755 --- a/tasks/swagger_k8s_delete_core_v1_node.rb +++ b/tasks/swagger_k8s_delete_core_v1_node.rb @@ -36,7 +36,7 @@ def delete_core_v1_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_core_v1_persistent_volume.rb b/tasks/swagger_k8s_delete_core_v1_persistent_volume.rb index 259a9fa7..45b58c76 100755 --- a/tasks/swagger_k8s_delete_core_v1_persistent_volume.rb +++ b/tasks/swagger_k8s_delete_core_v1_persistent_volume.rb @@ -36,7 +36,7 @@ def delete_core_v1_persistent_volume(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_events_v1beta1_collection_namespaced_event.rb b/tasks/swagger_k8s_delete_events_v1beta1_collection_namespaced_event.rb index 4a53a67e..5c0a12c1 100755 --- a/tasks/swagger_k8s_delete_events_v1beta1_collection_namespaced_event.rb +++ b/tasks/swagger_k8s_delete_events_v1beta1_collection_namespaced_event.rb @@ -36,7 +36,7 @@ def delete_events_v1beta1_collection_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_events_v1beta1_namespaced_event.rb b/tasks/swagger_k8s_delete_events_v1beta1_namespaced_event.rb index 225994f4..9f9e2d18 100755 --- a/tasks/swagger_k8s_delete_events_v1beta1_namespaced_event.rb +++ b/tasks/swagger_k8s_delete_events_v1beta1_namespaced_event.rb @@ -36,7 +36,7 @@ def delete_events_v1beta1_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_daemon_set.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_daemon_set.rb index 8d696516..7bdc055b 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_collection_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_deployment.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_deployment.rb index 3e0dffa3..b6b8a532 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_collection_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_ingress.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_ingress.rb index f4c6b3af..ad61029a 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_ingress.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_ingress.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_collection_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_network_policy.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_network_policy.rb index 52b478a6..75e8d8e5 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_collection_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_replica_set.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_replica_set.rb index cfce7de9..189c14a2 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_collection_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_pod_security_policy.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_pod_security_policy.rb index c82e5513..3bf84b03 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_collection_pod_security_policy.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_collection_pod_security_policy.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_collection_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_daemon_set.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_daemon_set.rb index 98516669..aa1823c6 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_deployment.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_deployment.rb index 35c0549e..0d53ab4f 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_ingress.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_ingress.rb index ae8867de..f3f9546f 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_ingress.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_ingress.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_network_policy.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_network_policy.rb index 78eb0a3b..5e06b68f 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_replica_set.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_replica_set.rb index 79bed41d..d2a2f625 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_extensions_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_delete_extensions_v1beta1_pod_security_policy.rb index c4ec7697..202a2623 100755 --- a/tasks/swagger_k8s_delete_extensions_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_delete_extensions_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def delete_extensions_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_networking_v1_collection_namespaced_network_policy.rb b/tasks/swagger_k8s_delete_networking_v1_collection_namespaced_network_policy.rb index e8355c06..fed215a9 100755 --- a/tasks/swagger_k8s_delete_networking_v1_collection_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_delete_networking_v1_collection_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def delete_networking_v1_collection_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_networking_v1_namespaced_network_policy.rb b/tasks/swagger_k8s_delete_networking_v1_namespaced_network_policy.rb index 883c5039..22684f6c 100755 --- a/tasks/swagger_k8s_delete_networking_v1_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_delete_networking_v1_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def delete_networking_v1_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_networking_v1beta1_collection_namespaced_ingress.rb b/tasks/swagger_k8s_delete_networking_v1beta1_collection_namespaced_ingress.rb index 94817748..2511dcbc 100755 --- a/tasks/swagger_k8s_delete_networking_v1beta1_collection_namespaced_ingress.rb +++ b/tasks/swagger_k8s_delete_networking_v1beta1_collection_namespaced_ingress.rb @@ -36,7 +36,7 @@ def delete_networking_v1beta1_collection_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_networking_v1beta1_namespaced_ingress.rb b/tasks/swagger_k8s_delete_networking_v1beta1_namespaced_ingress.rb index 40f774df..ebef3f09 100755 --- a/tasks/swagger_k8s_delete_networking_v1beta1_namespaced_ingress.rb +++ b/tasks/swagger_k8s_delete_networking_v1beta1_namespaced_ingress.rb @@ -36,7 +36,7 @@ def delete_networking_v1beta1_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_node_v1alpha1_collection_runtime_class.rb b/tasks/swagger_k8s_delete_node_v1alpha1_collection_runtime_class.rb index 1021d205..2639b59c 100755 --- a/tasks/swagger_k8s_delete_node_v1alpha1_collection_runtime_class.rb +++ b/tasks/swagger_k8s_delete_node_v1alpha1_collection_runtime_class.rb @@ -36,7 +36,7 @@ def delete_node_v1alpha1_collection_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_node_v1alpha1_runtime_class.rb b/tasks/swagger_k8s_delete_node_v1alpha1_runtime_class.rb index 2b4bbcf0..6a915047 100755 --- a/tasks/swagger_k8s_delete_node_v1alpha1_runtime_class.rb +++ b/tasks/swagger_k8s_delete_node_v1alpha1_runtime_class.rb @@ -36,7 +36,7 @@ def delete_node_v1alpha1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_node_v1beta1_collection_runtime_class.rb b/tasks/swagger_k8s_delete_node_v1beta1_collection_runtime_class.rb index b9a61481..1b0704fb 100755 --- a/tasks/swagger_k8s_delete_node_v1beta1_collection_runtime_class.rb +++ b/tasks/swagger_k8s_delete_node_v1beta1_collection_runtime_class.rb @@ -36,7 +36,7 @@ def delete_node_v1beta1_collection_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_node_v1beta1_runtime_class.rb b/tasks/swagger_k8s_delete_node_v1beta1_runtime_class.rb index 3df6a7fb..1966663b 100755 --- a/tasks/swagger_k8s_delete_node_v1beta1_runtime_class.rb +++ b/tasks/swagger_k8s_delete_node_v1beta1_runtime_class.rb @@ -36,7 +36,7 @@ def delete_node_v1beta1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget.rb b/tasks/swagger_k8s_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget.rb index fd4145bc..11d07c4a 100755 --- a/tasks/swagger_k8s_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget.rb +++ b/tasks/swagger_k8s_delete_policy_v1beta1_collection_namespaced_pod_disruption_budget.rb @@ -36,7 +36,7 @@ def delete_policy_v1beta1_collection_namespaced_pod_disruption_budget(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_policy_v1beta1_collection_pod_security_policy.rb b/tasks/swagger_k8s_delete_policy_v1beta1_collection_pod_security_policy.rb index 2db4cfd5..408eaa93 100755 --- a/tasks/swagger_k8s_delete_policy_v1beta1_collection_pod_security_policy.rb +++ b/tasks/swagger_k8s_delete_policy_v1beta1_collection_pod_security_policy.rb @@ -36,7 +36,7 @@ def delete_policy_v1beta1_collection_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_policy_v1beta1_namespaced_pod_disruption_budget.rb b/tasks/swagger_k8s_delete_policy_v1beta1_namespaced_pod_disruption_budget.rb index 3c91b608..a311d6a7 100755 --- a/tasks/swagger_k8s_delete_policy_v1beta1_namespaced_pod_disruption_budget.rb +++ b/tasks/swagger_k8s_delete_policy_v1beta1_namespaced_pod_disruption_budget.rb @@ -36,7 +36,7 @@ def delete_policy_v1beta1_namespaced_pod_disruption_budget(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_policy_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_delete_policy_v1beta1_pod_security_policy.rb index c746e4a1..493adc22 100755 --- a/tasks/swagger_k8s_delete_policy_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_delete_policy_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def delete_policy_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role.rb index 79e265d2..d10cbeb0 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role_binding.rb index 389db202..f3f213be 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role.rb index b744c3b1..d2aeec2d 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_collection_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role_binding.rb index d2036b1c..c2d5f540 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_cluster_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_collection_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role.rb index 0cc1ebc6..e31243f5 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_collection_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role_binding.rb index 09294784..1183ba3a 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_collection_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_collection_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role.rb index 2ad14f1e..14d26ed8 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role_binding.rb index 2008ffd6..074a5978 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role.rb index 60060eab..cd4287f5 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role_binding.rb index 68404107..c8e9f6ce 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role.rb index dc7065c4..58505b35 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_collection_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding.rb index 63f1d173..02d6fd69 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_cluster_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_collection_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role.rb index aa52da1f..8027d60a 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_collection_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding.rb index 11cf3165..97b86add 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_collection_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role.rb index 1ccb12e4..eb658e48 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role_binding.rb index 8062bb7d..a7ea39a3 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1alpha1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1alpha1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role.rb index eaab0499..081e1cdc 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role_binding.rb index 9051a7e3..927734a1 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role.rb index 3fba4ed5..5e8f1572 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_collection_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role_binding.rb index 3c8636ce..fc8cb470 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_cluster_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_collection_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role.rb index df64560b..b1d83422 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_collection_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding.rb index d4e2c370..b45ea64f 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_collection_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_collection_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role.rb index 4c070c25..46f736ae 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role_binding.rb b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role_binding.rb index a82aeb8e..3c3080e9 100755 --- a/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_delete_rbac_authorization_v1beta1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def delete_rbac_authorization_v1beta1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_scheduling_v1_collection_priority_class.rb b/tasks/swagger_k8s_delete_scheduling_v1_collection_priority_class.rb index 81892ebd..4a684950 100755 --- a/tasks/swagger_k8s_delete_scheduling_v1_collection_priority_class.rb +++ b/tasks/swagger_k8s_delete_scheduling_v1_collection_priority_class.rb @@ -36,7 +36,7 @@ def delete_scheduling_v1_collection_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_scheduling_v1_priority_class.rb b/tasks/swagger_k8s_delete_scheduling_v1_priority_class.rb index 77aadad1..3cf47a1f 100755 --- a/tasks/swagger_k8s_delete_scheduling_v1_priority_class.rb +++ b/tasks/swagger_k8s_delete_scheduling_v1_priority_class.rb @@ -36,7 +36,7 @@ def delete_scheduling_v1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_scheduling_v1alpha1_collection_priority_class.rb b/tasks/swagger_k8s_delete_scheduling_v1alpha1_collection_priority_class.rb index abd46cff..5111d148 100755 --- a/tasks/swagger_k8s_delete_scheduling_v1alpha1_collection_priority_class.rb +++ b/tasks/swagger_k8s_delete_scheduling_v1alpha1_collection_priority_class.rb @@ -36,7 +36,7 @@ def delete_scheduling_v1alpha1_collection_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_scheduling_v1alpha1_priority_class.rb b/tasks/swagger_k8s_delete_scheduling_v1alpha1_priority_class.rb index bd36e676..90e4ec27 100755 --- a/tasks/swagger_k8s_delete_scheduling_v1alpha1_priority_class.rb +++ b/tasks/swagger_k8s_delete_scheduling_v1alpha1_priority_class.rb @@ -36,7 +36,7 @@ def delete_scheduling_v1alpha1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_scheduling_v1beta1_collection_priority_class.rb b/tasks/swagger_k8s_delete_scheduling_v1beta1_collection_priority_class.rb index 30ed1f63..c6c40b82 100755 --- a/tasks/swagger_k8s_delete_scheduling_v1beta1_collection_priority_class.rb +++ b/tasks/swagger_k8s_delete_scheduling_v1beta1_collection_priority_class.rb @@ -36,7 +36,7 @@ def delete_scheduling_v1beta1_collection_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_scheduling_v1beta1_priority_class.rb b/tasks/swagger_k8s_delete_scheduling_v1beta1_priority_class.rb index 1ce68b54..356d6a3a 100755 --- a/tasks/swagger_k8s_delete_scheduling_v1beta1_priority_class.rb +++ b/tasks/swagger_k8s_delete_scheduling_v1beta1_priority_class.rb @@ -36,7 +36,7 @@ def delete_scheduling_v1beta1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_settings_v1alpha1_collection_namespaced_pod_preset.rb b/tasks/swagger_k8s_delete_settings_v1alpha1_collection_namespaced_pod_preset.rb index 343b34d8..75d3f04d 100755 --- a/tasks/swagger_k8s_delete_settings_v1alpha1_collection_namespaced_pod_preset.rb +++ b/tasks/swagger_k8s_delete_settings_v1alpha1_collection_namespaced_pod_preset.rb @@ -36,7 +36,7 @@ def delete_settings_v1alpha1_collection_namespaced_pod_preset(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_settings_v1alpha1_namespaced_pod_preset.rb b/tasks/swagger_k8s_delete_settings_v1alpha1_namespaced_pod_preset.rb index e702b72b..352242d3 100755 --- a/tasks/swagger_k8s_delete_settings_v1alpha1_namespaced_pod_preset.rb +++ b/tasks/swagger_k8s_delete_settings_v1alpha1_namespaced_pod_preset.rb @@ -36,7 +36,7 @@ def delete_settings_v1alpha1_namespaced_pod_preset(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1_collection_storage_class.rb b/tasks/swagger_k8s_delete_storage_v1_collection_storage_class.rb index 9cf640ab..1329d205 100755 --- a/tasks/swagger_k8s_delete_storage_v1_collection_storage_class.rb +++ b/tasks/swagger_k8s_delete_storage_v1_collection_storage_class.rb @@ -36,7 +36,7 @@ def delete_storage_v1_collection_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1_collection_volume_attachment.rb b/tasks/swagger_k8s_delete_storage_v1_collection_volume_attachment.rb index 4caf7e66..8e84c0b8 100755 --- a/tasks/swagger_k8s_delete_storage_v1_collection_volume_attachment.rb +++ b/tasks/swagger_k8s_delete_storage_v1_collection_volume_attachment.rb @@ -36,7 +36,7 @@ def delete_storage_v1_collection_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1_storage_class.rb b/tasks/swagger_k8s_delete_storage_v1_storage_class.rb index 720fc0ac..9fe0a940 100755 --- a/tasks/swagger_k8s_delete_storage_v1_storage_class.rb +++ b/tasks/swagger_k8s_delete_storage_v1_storage_class.rb @@ -36,7 +36,7 @@ def delete_storage_v1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1_volume_attachment.rb b/tasks/swagger_k8s_delete_storage_v1_volume_attachment.rb index ae901305..404c5bbe 100755 --- a/tasks/swagger_k8s_delete_storage_v1_volume_attachment.rb +++ b/tasks/swagger_k8s_delete_storage_v1_volume_attachment.rb @@ -36,7 +36,7 @@ def delete_storage_v1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1alpha1_collection_volume_attachment.rb b/tasks/swagger_k8s_delete_storage_v1alpha1_collection_volume_attachment.rb index a2408a20..ff6ae8df 100755 --- a/tasks/swagger_k8s_delete_storage_v1alpha1_collection_volume_attachment.rb +++ b/tasks/swagger_k8s_delete_storage_v1alpha1_collection_volume_attachment.rb @@ -36,7 +36,7 @@ def delete_storage_v1alpha1_collection_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1alpha1_volume_attachment.rb b/tasks/swagger_k8s_delete_storage_v1alpha1_volume_attachment.rb index eee456a1..0e1f67e8 100755 --- a/tasks/swagger_k8s_delete_storage_v1alpha1_volume_attachment.rb +++ b/tasks/swagger_k8s_delete_storage_v1alpha1_volume_attachment.rb @@ -36,7 +36,7 @@ def delete_storage_v1alpha1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_driver.rb b/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_driver.rb index 89307125..d85b9f5a 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_driver.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_driver.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_collection_csi_driver(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_node.rb b/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_node.rb index c4913151..1ebf4f57 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_node.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_collection_csi_node.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_collection_csi_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_collection_storage_class.rb b/tasks/swagger_k8s_delete_storage_v1beta1_collection_storage_class.rb index ad04e4f9..ae98b6f5 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_collection_storage_class.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_collection_storage_class.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_collection_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_collection_volume_attachment.rb b/tasks/swagger_k8s_delete_storage_v1beta1_collection_volume_attachment.rb index a3d44936..b7110d22 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_collection_volume_attachment.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_collection_volume_attachment.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_collection_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_csi_driver.rb b/tasks/swagger_k8s_delete_storage_v1beta1_csi_driver.rb index 10e08db2..5e0c16cf 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_csi_driver.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_csi_driver.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_csi_driver(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_csi_node.rb b/tasks/swagger_k8s_delete_storage_v1beta1_csi_node.rb index 5385f9e5..770d4e74 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_csi_node.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_csi_node.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_csi_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_storage_class.rb b/tasks/swagger_k8s_delete_storage_v1beta1_storage_class.rb index dd71c25d..aae05bac 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_storage_class.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_storage_class.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_delete_storage_v1beta1_volume_attachment.rb b/tasks/swagger_k8s_delete_storage_v1beta1_volume_attachment.rb index aedbe9d5..146e9f28 100755 --- a/tasks/swagger_k8s_delete_storage_v1beta1_volume_attachment.rb +++ b/tasks/swagger_k8s_delete_storage_v1beta1_volume_attachment.rb @@ -36,7 +36,7 @@ def delete_storage_v1beta1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_admissionregistration_api_group.rb b/tasks/swagger_k8s_get_admissionregistration_api_group.rb index 4b2a28b0..86787698 100755 --- a/tasks/swagger_k8s_get_admissionregistration_api_group.rb +++ b/tasks/swagger_k8s_get_admissionregistration_api_group.rb @@ -36,7 +36,7 @@ def get_admissionregistration_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_admissionregistration_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_admissionregistration_v1beta1_api_resources.rb index 95ecf4e4..23a16089 100755 --- a/tasks/swagger_k8s_get_admissionregistration_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_admissionregistration_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_admissionregistration_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_api_versions.rb b/tasks/swagger_k8s_get_api_versions.rb index dae2ffa9..ad1ce7e6 100755 --- a/tasks/swagger_k8s_get_api_versions.rb +++ b/tasks/swagger_k8s_get_api_versions.rb @@ -36,7 +36,7 @@ def get_api_versions(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apiextensions_api_group.rb b/tasks/swagger_k8s_get_apiextensions_api_group.rb index 73416f2e..38667e13 100755 --- a/tasks/swagger_k8s_get_apiextensions_api_group.rb +++ b/tasks/swagger_k8s_get_apiextensions_api_group.rb @@ -36,7 +36,7 @@ def get_apiextensions_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apiextensions_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_apiextensions_v1beta1_api_resources.rb index e00e6535..b7c9a871 100755 --- a/tasks/swagger_k8s_get_apiextensions_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_apiextensions_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_apiextensions_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apiregistration_api_group.rb b/tasks/swagger_k8s_get_apiregistration_api_group.rb index 3d8624be..976a2eff 100755 --- a/tasks/swagger_k8s_get_apiregistration_api_group.rb +++ b/tasks/swagger_k8s_get_apiregistration_api_group.rb @@ -36,7 +36,7 @@ def get_apiregistration_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apiregistration_v1_api_resources.rb b/tasks/swagger_k8s_get_apiregistration_v1_api_resources.rb index 23f37cf3..b432d7cb 100755 --- a/tasks/swagger_k8s_get_apiregistration_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_apiregistration_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_apiregistration_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apiregistration_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_apiregistration_v1beta1_api_resources.rb index 84746a0a..9a62fa63 100755 --- a/tasks/swagger_k8s_get_apiregistration_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_apiregistration_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_apiregistration_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apps_api_group.rb b/tasks/swagger_k8s_get_apps_api_group.rb index f8fc18d9..93de6897 100755 --- a/tasks/swagger_k8s_get_apps_api_group.rb +++ b/tasks/swagger_k8s_get_apps_api_group.rb @@ -36,7 +36,7 @@ def get_apps_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apps_v1_api_resources.rb b/tasks/swagger_k8s_get_apps_v1_api_resources.rb index ad1ba6c2..aa6b6ad9 100755 --- a/tasks/swagger_k8s_get_apps_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_apps_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_apps_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apps_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_apps_v1beta1_api_resources.rb index cc7ade59..126513ae 100755 --- a/tasks/swagger_k8s_get_apps_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_apps_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_apps_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_apps_v1beta2_api_resources.rb b/tasks/swagger_k8s_get_apps_v1beta2_api_resources.rb index 445d707c..f0ac40f5 100755 --- a/tasks/swagger_k8s_get_apps_v1beta2_api_resources.rb +++ b/tasks/swagger_k8s_get_apps_v1beta2_api_resources.rb @@ -36,7 +36,7 @@ def get_apps_v1beta2_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_auditregistration_api_group.rb b/tasks/swagger_k8s_get_auditregistration_api_group.rb index d26df3f0..49ae6296 100755 --- a/tasks/swagger_k8s_get_auditregistration_api_group.rb +++ b/tasks/swagger_k8s_get_auditregistration_api_group.rb @@ -36,7 +36,7 @@ def get_auditregistration_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_auditregistration_v1alpha1_api_resources.rb b/tasks/swagger_k8s_get_auditregistration_v1alpha1_api_resources.rb index 5abddbe5..88e5c7ae 100755 --- a/tasks/swagger_k8s_get_auditregistration_v1alpha1_api_resources.rb +++ b/tasks/swagger_k8s_get_auditregistration_v1alpha1_api_resources.rb @@ -36,7 +36,7 @@ def get_auditregistration_v1alpha1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_authentication_api_group.rb b/tasks/swagger_k8s_get_authentication_api_group.rb index 9f507724..aa054608 100755 --- a/tasks/swagger_k8s_get_authentication_api_group.rb +++ b/tasks/swagger_k8s_get_authentication_api_group.rb @@ -36,7 +36,7 @@ def get_authentication_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_authentication_v1_api_resources.rb b/tasks/swagger_k8s_get_authentication_v1_api_resources.rb index a43cef6b..71e7998f 100755 --- a/tasks/swagger_k8s_get_authentication_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_authentication_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_authentication_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_authentication_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_authentication_v1beta1_api_resources.rb index f1d6c828..b94d1eb1 100755 --- a/tasks/swagger_k8s_get_authentication_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_authentication_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_authentication_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_authorization_api_group.rb b/tasks/swagger_k8s_get_authorization_api_group.rb index df73a42b..8ef0b3ef 100755 --- a/tasks/swagger_k8s_get_authorization_api_group.rb +++ b/tasks/swagger_k8s_get_authorization_api_group.rb @@ -36,7 +36,7 @@ def get_authorization_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_authorization_v1_api_resources.rb b/tasks/swagger_k8s_get_authorization_v1_api_resources.rb index 50aa7f53..8a2bbb1d 100755 --- a/tasks/swagger_k8s_get_authorization_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_authorization_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_authorization_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_authorization_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_authorization_v1beta1_api_resources.rb index 4fe8db1b..9f23902f 100755 --- a/tasks/swagger_k8s_get_authorization_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_authorization_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_authorization_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_autoscaling_api_group.rb b/tasks/swagger_k8s_get_autoscaling_api_group.rb index 7f1ce723..06146647 100755 --- a/tasks/swagger_k8s_get_autoscaling_api_group.rb +++ b/tasks/swagger_k8s_get_autoscaling_api_group.rb @@ -36,7 +36,7 @@ def get_autoscaling_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_autoscaling_v1_api_resources.rb b/tasks/swagger_k8s_get_autoscaling_v1_api_resources.rb index 13a60af0..9a10bb3d 100755 --- a/tasks/swagger_k8s_get_autoscaling_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_autoscaling_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_autoscaling_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_autoscaling_v2beta1_api_resources.rb b/tasks/swagger_k8s_get_autoscaling_v2beta1_api_resources.rb index 7169ad04..b2a47fd9 100755 --- a/tasks/swagger_k8s_get_autoscaling_v2beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_autoscaling_v2beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_autoscaling_v2beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_autoscaling_v2beta2_api_resources.rb b/tasks/swagger_k8s_get_autoscaling_v2beta2_api_resources.rb index 82d77828..ceaca977 100755 --- a/tasks/swagger_k8s_get_autoscaling_v2beta2_api_resources.rb +++ b/tasks/swagger_k8s_get_autoscaling_v2beta2_api_resources.rb @@ -36,7 +36,7 @@ def get_autoscaling_v2beta2_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_batch_api_group.rb b/tasks/swagger_k8s_get_batch_api_group.rb index 343f67c9..783f1105 100755 --- a/tasks/swagger_k8s_get_batch_api_group.rb +++ b/tasks/swagger_k8s_get_batch_api_group.rb @@ -36,7 +36,7 @@ def get_batch_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_batch_v1_api_resources.rb b/tasks/swagger_k8s_get_batch_v1_api_resources.rb index 2caa2fdd..46d2f8c2 100755 --- a/tasks/swagger_k8s_get_batch_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_batch_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_batch_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_batch_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_batch_v1beta1_api_resources.rb index d4098e6c..77a7eefe 100755 --- a/tasks/swagger_k8s_get_batch_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_batch_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_batch_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_batch_v2alpha1_api_resources.rb b/tasks/swagger_k8s_get_batch_v2alpha1_api_resources.rb index afd20497..8cf57076 100755 --- a/tasks/swagger_k8s_get_batch_v2alpha1_api_resources.rb +++ b/tasks/swagger_k8s_get_batch_v2alpha1_api_resources.rb @@ -36,7 +36,7 @@ def get_batch_v2alpha1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_certificates_api_group.rb b/tasks/swagger_k8s_get_certificates_api_group.rb index e332dcf0..aedb8a74 100755 --- a/tasks/swagger_k8s_get_certificates_api_group.rb +++ b/tasks/swagger_k8s_get_certificates_api_group.rb @@ -36,7 +36,7 @@ def get_certificates_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_certificates_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_certificates_v1beta1_api_resources.rb index 9f14e8f5..f7303561 100755 --- a/tasks/swagger_k8s_get_certificates_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_certificates_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_certificates_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_coordination_api_group.rb b/tasks/swagger_k8s_get_coordination_api_group.rb index e5a40b9f..d1ea46bb 100755 --- a/tasks/swagger_k8s_get_coordination_api_group.rb +++ b/tasks/swagger_k8s_get_coordination_api_group.rb @@ -36,7 +36,7 @@ def get_coordination_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_coordination_v1_api_resources.rb b/tasks/swagger_k8s_get_coordination_v1_api_resources.rb index 16c10fd5..65425493 100755 --- a/tasks/swagger_k8s_get_coordination_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_coordination_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_coordination_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_coordination_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_coordination_v1beta1_api_resources.rb index 4a313047..44977d2a 100755 --- a/tasks/swagger_k8s_get_coordination_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_coordination_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_coordination_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_core_api_versions.rb b/tasks/swagger_k8s_get_core_api_versions.rb index 3d57fff7..5be95ea0 100755 --- a/tasks/swagger_k8s_get_core_api_versions.rb +++ b/tasks/swagger_k8s_get_core_api_versions.rb @@ -36,7 +36,7 @@ def get_core_api_versions(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_core_v1_api_resources.rb b/tasks/swagger_k8s_get_core_v1_api_resources.rb index ad1e4c85..489b1f9f 100755 --- a/tasks/swagger_k8s_get_core_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_core_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_core_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_events_api_group.rb b/tasks/swagger_k8s_get_events_api_group.rb index 0a46ad9a..fe04b3ce 100755 --- a/tasks/swagger_k8s_get_events_api_group.rb +++ b/tasks/swagger_k8s_get_events_api_group.rb @@ -36,7 +36,7 @@ def get_events_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_events_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_events_v1beta1_api_resources.rb index a094d0e8..295eb98d 100755 --- a/tasks/swagger_k8s_get_events_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_events_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_events_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_extensions_api_group.rb b/tasks/swagger_k8s_get_extensions_api_group.rb index f5216cd3..5cfe4424 100755 --- a/tasks/swagger_k8s_get_extensions_api_group.rb +++ b/tasks/swagger_k8s_get_extensions_api_group.rb @@ -36,7 +36,7 @@ def get_extensions_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_extensions_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_extensions_v1beta1_api_resources.rb index f53d8ce9..d0b902a0 100755 --- a/tasks/swagger_k8s_get_extensions_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_extensions_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_extensions_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_networking_api_group.rb b/tasks/swagger_k8s_get_networking_api_group.rb index 5a7b90fb..7033896b 100755 --- a/tasks/swagger_k8s_get_networking_api_group.rb +++ b/tasks/swagger_k8s_get_networking_api_group.rb @@ -36,7 +36,7 @@ def get_networking_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_networking_v1_api_resources.rb b/tasks/swagger_k8s_get_networking_v1_api_resources.rb index ce79c17b..4e74de6d 100755 --- a/tasks/swagger_k8s_get_networking_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_networking_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_networking_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_networking_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_networking_v1beta1_api_resources.rb index 21b01fcd..4462f412 100755 --- a/tasks/swagger_k8s_get_networking_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_networking_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_networking_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_node_api_group.rb b/tasks/swagger_k8s_get_node_api_group.rb index 386b5135..3d5f9e1e 100755 --- a/tasks/swagger_k8s_get_node_api_group.rb +++ b/tasks/swagger_k8s_get_node_api_group.rb @@ -36,7 +36,7 @@ def get_node_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_node_v1alpha1_api_resources.rb b/tasks/swagger_k8s_get_node_v1alpha1_api_resources.rb index ae065882..48c6daf5 100755 --- a/tasks/swagger_k8s_get_node_v1alpha1_api_resources.rb +++ b/tasks/swagger_k8s_get_node_v1alpha1_api_resources.rb @@ -36,7 +36,7 @@ def get_node_v1alpha1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_node_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_node_v1beta1_api_resources.rb index 7d3010fe..34c66439 100755 --- a/tasks/swagger_k8s_get_node_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_node_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_node_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_policy_api_group.rb b/tasks/swagger_k8s_get_policy_api_group.rb index 2c3df5e1..57a90d2e 100755 --- a/tasks/swagger_k8s_get_policy_api_group.rb +++ b/tasks/swagger_k8s_get_policy_api_group.rb @@ -36,7 +36,7 @@ def get_policy_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_policy_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_policy_v1beta1_api_resources.rb index 436cb18e..cd5e0ae4 100755 --- a/tasks/swagger_k8s_get_policy_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_policy_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_policy_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_rbac_authorization_api_group.rb b/tasks/swagger_k8s_get_rbac_authorization_api_group.rb index 8361b48d..e6648065 100755 --- a/tasks/swagger_k8s_get_rbac_authorization_api_group.rb +++ b/tasks/swagger_k8s_get_rbac_authorization_api_group.rb @@ -36,7 +36,7 @@ def get_rbac_authorization_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_rbac_authorization_v1_api_resources.rb b/tasks/swagger_k8s_get_rbac_authorization_v1_api_resources.rb index f52cd55d..09cac705 100755 --- a/tasks/swagger_k8s_get_rbac_authorization_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_rbac_authorization_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_rbac_authorization_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_rbac_authorization_v1alpha1_api_resources.rb b/tasks/swagger_k8s_get_rbac_authorization_v1alpha1_api_resources.rb index fb6d62a4..914e03b1 100755 --- a/tasks/swagger_k8s_get_rbac_authorization_v1alpha1_api_resources.rb +++ b/tasks/swagger_k8s_get_rbac_authorization_v1alpha1_api_resources.rb @@ -36,7 +36,7 @@ def get_rbac_authorization_v1alpha1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_rbac_authorization_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_rbac_authorization_v1beta1_api_resources.rb index f87d2b44..801c4387 100755 --- a/tasks/swagger_k8s_get_rbac_authorization_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_rbac_authorization_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_rbac_authorization_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_scheduling_api_group.rb b/tasks/swagger_k8s_get_scheduling_api_group.rb index ce79aa8f..ba8be14b 100755 --- a/tasks/swagger_k8s_get_scheduling_api_group.rb +++ b/tasks/swagger_k8s_get_scheduling_api_group.rb @@ -36,7 +36,7 @@ def get_scheduling_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_scheduling_v1_api_resources.rb b/tasks/swagger_k8s_get_scheduling_v1_api_resources.rb index 57ef3ec1..697dfcb3 100755 --- a/tasks/swagger_k8s_get_scheduling_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_scheduling_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_scheduling_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_scheduling_v1alpha1_api_resources.rb b/tasks/swagger_k8s_get_scheduling_v1alpha1_api_resources.rb index 66ad808c..62d2c2ce 100755 --- a/tasks/swagger_k8s_get_scheduling_v1alpha1_api_resources.rb +++ b/tasks/swagger_k8s_get_scheduling_v1alpha1_api_resources.rb @@ -36,7 +36,7 @@ def get_scheduling_v1alpha1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_scheduling_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_scheduling_v1beta1_api_resources.rb index a2586dba..13e51a87 100755 --- a/tasks/swagger_k8s_get_scheduling_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_scheduling_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_scheduling_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_settings_api_group.rb b/tasks/swagger_k8s_get_settings_api_group.rb index 557027fb..395a2622 100755 --- a/tasks/swagger_k8s_get_settings_api_group.rb +++ b/tasks/swagger_k8s_get_settings_api_group.rb @@ -36,7 +36,7 @@ def get_settings_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_settings_v1alpha1_api_resources.rb b/tasks/swagger_k8s_get_settings_v1alpha1_api_resources.rb index 9d3a63bd..8e8cd360 100755 --- a/tasks/swagger_k8s_get_settings_v1alpha1_api_resources.rb +++ b/tasks/swagger_k8s_get_settings_v1alpha1_api_resources.rb @@ -36,7 +36,7 @@ def get_settings_v1alpha1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_storage_api_group.rb b/tasks/swagger_k8s_get_storage_api_group.rb index e2a88e41..107f6d20 100755 --- a/tasks/swagger_k8s_get_storage_api_group.rb +++ b/tasks/swagger_k8s_get_storage_api_group.rb @@ -36,7 +36,7 @@ def get_storage_api_group(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_storage_v1_api_resources.rb b/tasks/swagger_k8s_get_storage_v1_api_resources.rb index b7fba3cf..eeac4a39 100755 --- a/tasks/swagger_k8s_get_storage_v1_api_resources.rb +++ b/tasks/swagger_k8s_get_storage_v1_api_resources.rb @@ -36,7 +36,7 @@ def get_storage_v1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_storage_v1alpha1_api_resources.rb b/tasks/swagger_k8s_get_storage_v1alpha1_api_resources.rb index 3adf8d7e..d0715821 100755 --- a/tasks/swagger_k8s_get_storage_v1alpha1_api_resources.rb +++ b/tasks/swagger_k8s_get_storage_v1alpha1_api_resources.rb @@ -36,7 +36,7 @@ def get_storage_v1alpha1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_get_storage_v1beta1_api_resources.rb b/tasks/swagger_k8s_get_storage_v1beta1_api_resources.rb index d4c55274..d65374dd 100755 --- a/tasks/swagger_k8s_get_storage_v1beta1_api_resources.rb +++ b/tasks/swagger_k8s_get_storage_v1beta1_api_resources.rb @@ -36,7 +36,7 @@ def get_storage_v1beta1_api_resources(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_admissionregistration_v1beta1_mutating_webhook_configuration.rb b/tasks/swagger_k8s_list_admissionregistration_v1beta1_mutating_webhook_configuration.rb index f49fb28c..a899564c 100755 --- a/tasks/swagger_k8s_list_admissionregistration_v1beta1_mutating_webhook_configuration.rb +++ b/tasks/swagger_k8s_list_admissionregistration_v1beta1_mutating_webhook_configuration.rb @@ -36,7 +36,7 @@ def list_admissionregistration_v1beta1_mutating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_admissionregistration_v1beta1_validating_webhook_configuration.rb b/tasks/swagger_k8s_list_admissionregistration_v1beta1_validating_webhook_configuration.rb index 352fa9aa..02cc5598 100755 --- a/tasks/swagger_k8s_list_admissionregistration_v1beta1_validating_webhook_configuration.rb +++ b/tasks/swagger_k8s_list_admissionregistration_v1beta1_validating_webhook_configuration.rb @@ -36,7 +36,7 @@ def list_admissionregistration_v1beta1_validating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apiextensions_v1beta1_custom_resource_definition.rb b/tasks/swagger_k8s_list_apiextensions_v1beta1_custom_resource_definition.rb index b73806c6..1e21d4be 100755 --- a/tasks/swagger_k8s_list_apiextensions_v1beta1_custom_resource_definition.rb +++ b/tasks/swagger_k8s_list_apiextensions_v1beta1_custom_resource_definition.rb @@ -36,7 +36,7 @@ def list_apiextensions_v1beta1_custom_resource_definition(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apiregistration_v1_api_service.rb b/tasks/swagger_k8s_list_apiregistration_v1_api_service.rb index a05d5daa..a1ba4681 100755 --- a/tasks/swagger_k8s_list_apiregistration_v1_api_service.rb +++ b/tasks/swagger_k8s_list_apiregistration_v1_api_service.rb @@ -36,7 +36,7 @@ def list_apiregistration_v1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apiregistration_v1beta1_api_service.rb b/tasks/swagger_k8s_list_apiregistration_v1beta1_api_service.rb index bcc95176..60c4f9ca 100755 --- a/tasks/swagger_k8s_list_apiregistration_v1beta1_api_service.rb +++ b/tasks/swagger_k8s_list_apiregistration_v1beta1_api_service.rb @@ -36,7 +36,7 @@ def list_apiregistration_v1beta1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1_controller_revision_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1_controller_revision_for_all_namespaces.rb index 159c91a7..01f87fd5 100755 --- a/tasks/swagger_k8s_list_apps_v1_controller_revision_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1_controller_revision_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1_controller_revision_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1_daemon_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1_daemon_set_for_all_namespaces.rb index 6b1e4c53..cc2b575f 100755 --- a/tasks/swagger_k8s_list_apps_v1_daemon_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1_daemon_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1_daemon_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1_deployment_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1_deployment_for_all_namespaces.rb index 90c5d575..f0aac7b3 100755 --- a/tasks/swagger_k8s_list_apps_v1_deployment_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1_deployment_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1_deployment_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1_replica_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1_replica_set_for_all_namespaces.rb index 90c958bd..7d1e3f36 100755 --- a/tasks/swagger_k8s_list_apps_v1_replica_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1_replica_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1_replica_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1_stateful_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1_stateful_set_for_all_namespaces.rb index db443489..3863657c 100755 --- a/tasks/swagger_k8s_list_apps_v1_stateful_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1_stateful_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1_stateful_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta1_controller_revision_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta1_controller_revision_for_all_namespaces.rb index 7364d228..32673433 100755 --- a/tasks/swagger_k8s_list_apps_v1beta1_controller_revision_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta1_controller_revision_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta1_controller_revision_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta1_deployment_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta1_deployment_for_all_namespaces.rb index e0b3a8e1..7e493495 100755 --- a/tasks/swagger_k8s_list_apps_v1beta1_deployment_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta1_deployment_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta1_deployment_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta1_stateful_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta1_stateful_set_for_all_namespaces.rb index 87d1a99d..e69e4f37 100755 --- a/tasks/swagger_k8s_list_apps_v1beta1_stateful_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta1_stateful_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta1_stateful_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta2_controller_revision_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta2_controller_revision_for_all_namespaces.rb index 10b6bb0e..a2b1ec7c 100755 --- a/tasks/swagger_k8s_list_apps_v1beta2_controller_revision_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta2_controller_revision_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta2_controller_revision_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta2_daemon_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta2_daemon_set_for_all_namespaces.rb index 6e3b5d41..b38f3545 100755 --- a/tasks/swagger_k8s_list_apps_v1beta2_daemon_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta2_daemon_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta2_daemon_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta2_deployment_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta2_deployment_for_all_namespaces.rb index 155fbbf2..8e4a8cec 100755 --- a/tasks/swagger_k8s_list_apps_v1beta2_deployment_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta2_deployment_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta2_deployment_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta2_replica_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta2_replica_set_for_all_namespaces.rb index 97c98d9b..67920cd3 100755 --- a/tasks/swagger_k8s_list_apps_v1beta2_replica_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta2_replica_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta2_replica_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_apps_v1beta2_stateful_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_apps_v1beta2_stateful_set_for_all_namespaces.rb index 50491d95..5fb0ae41 100755 --- a/tasks/swagger_k8s_list_apps_v1beta2_stateful_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_apps_v1beta2_stateful_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_apps_v1beta2_stateful_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_auditregistration_v1alpha1_audit_sink.rb b/tasks/swagger_k8s_list_auditregistration_v1alpha1_audit_sink.rb index 77f6a3c2..146fc3c2 100755 --- a/tasks/swagger_k8s_list_auditregistration_v1alpha1_audit_sink.rb +++ b/tasks/swagger_k8s_list_auditregistration_v1alpha1_audit_sink.rb @@ -36,7 +36,7 @@ def list_auditregistration_v1alpha1_audit_sink(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces.rb b/tasks/swagger_k8s_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces.rb index 76e79b9f..be94c2b3 100755 --- a/tasks/swagger_k8s_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_autoscaling_v1_horizontal_pod_autoscaler_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces.rb b/tasks/swagger_k8s_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces.rb index c4390b6a..215a6685 100755 --- a/tasks/swagger_k8s_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_autoscaling_v2beta1_horizontal_pod_autoscaler_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces.rb b/tasks/swagger_k8s_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces.rb index f6726ac5..aeeaf08f 100755 --- a/tasks/swagger_k8s_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_autoscaling_v2beta2_horizontal_pod_autoscaler_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_batch_v1_job_for_all_namespaces.rb b/tasks/swagger_k8s_list_batch_v1_job_for_all_namespaces.rb index 485e0f81..12621c9a 100755 --- a/tasks/swagger_k8s_list_batch_v1_job_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_batch_v1_job_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_batch_v1_job_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_batch_v1beta1_cron_job_for_all_namespaces.rb b/tasks/swagger_k8s_list_batch_v1beta1_cron_job_for_all_namespaces.rb index ef551acc..ffeda708 100755 --- a/tasks/swagger_k8s_list_batch_v1beta1_cron_job_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_batch_v1beta1_cron_job_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_batch_v1beta1_cron_job_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_batch_v2alpha1_cron_job_for_all_namespaces.rb b/tasks/swagger_k8s_list_batch_v2alpha1_cron_job_for_all_namespaces.rb index 665cf7b0..41f30211 100755 --- a/tasks/swagger_k8s_list_batch_v2alpha1_cron_job_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_batch_v2alpha1_cron_job_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_batch_v2alpha1_cron_job_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_certificates_v1beta1_certificate_signing_request.rb b/tasks/swagger_k8s_list_certificates_v1beta1_certificate_signing_request.rb index 8b9c3421..1f19e5d3 100755 --- a/tasks/swagger_k8s_list_certificates_v1beta1_certificate_signing_request.rb +++ b/tasks/swagger_k8s_list_certificates_v1beta1_certificate_signing_request.rb @@ -36,7 +36,7 @@ def list_certificates_v1beta1_certificate_signing_request(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_coordination_v1_lease_for_all_namespaces.rb b/tasks/swagger_k8s_list_coordination_v1_lease_for_all_namespaces.rb index 82cfe9e5..91e1c537 100755 --- a/tasks/swagger_k8s_list_coordination_v1_lease_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_coordination_v1_lease_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_coordination_v1_lease_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_coordination_v1beta1_lease_for_all_namespaces.rb b/tasks/swagger_k8s_list_coordination_v1beta1_lease_for_all_namespaces.rb index b73ed185..9e8f9990 100755 --- a/tasks/swagger_k8s_list_coordination_v1beta1_lease_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_coordination_v1beta1_lease_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_coordination_v1beta1_lease_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_component_status.rb b/tasks/swagger_k8s_list_core_v1_component_status.rb index 00c77fcb..12a4440a 100755 --- a/tasks/swagger_k8s_list_core_v1_component_status.rb +++ b/tasks/swagger_k8s_list_core_v1_component_status.rb @@ -36,7 +36,7 @@ def list_core_v1_component_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_config_map_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_config_map_for_all_namespaces.rb index 901f370f..7e95f67b 100755 --- a/tasks/swagger_k8s_list_core_v1_config_map_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_config_map_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_config_map_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_endpoints_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_endpoints_for_all_namespaces.rb index ba9ac5f2..92fa49eb 100755 --- a/tasks/swagger_k8s_list_core_v1_endpoints_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_endpoints_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_endpoints_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_event_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_event_for_all_namespaces.rb index 77463436..6be26979 100755 --- a/tasks/swagger_k8s_list_core_v1_event_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_event_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_event_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_limit_range_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_limit_range_for_all_namespaces.rb index 311018ee..f7447629 100755 --- a/tasks/swagger_k8s_list_core_v1_limit_range_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_limit_range_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_limit_range_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_namespace.rb b/tasks/swagger_k8s_list_core_v1_namespace.rb index 45e65289..eb2f1372 100755 --- a/tasks/swagger_k8s_list_core_v1_namespace.rb +++ b/tasks/swagger_k8s_list_core_v1_namespace.rb @@ -36,7 +36,7 @@ def list_core_v1_namespace(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_node.rb b/tasks/swagger_k8s_list_core_v1_node.rb index 8c9490d0..2d893392 100755 --- a/tasks/swagger_k8s_list_core_v1_node.rb +++ b/tasks/swagger_k8s_list_core_v1_node.rb @@ -36,7 +36,7 @@ def list_core_v1_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_persistent_volume.rb b/tasks/swagger_k8s_list_core_v1_persistent_volume.rb index 2687d08b..004ac9fd 100755 --- a/tasks/swagger_k8s_list_core_v1_persistent_volume.rb +++ b/tasks/swagger_k8s_list_core_v1_persistent_volume.rb @@ -36,7 +36,7 @@ def list_core_v1_persistent_volume(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_persistent_volume_claim_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_persistent_volume_claim_for_all_namespaces.rb index 46853f19..854216d6 100755 --- a/tasks/swagger_k8s_list_core_v1_persistent_volume_claim_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_persistent_volume_claim_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_persistent_volume_claim_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_pod_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_pod_for_all_namespaces.rb index 005d77cb..a9f270af 100755 --- a/tasks/swagger_k8s_list_core_v1_pod_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_pod_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_pod_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_pod_template_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_pod_template_for_all_namespaces.rb index 38820157..fa619ac1 100755 --- a/tasks/swagger_k8s_list_core_v1_pod_template_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_pod_template_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_pod_template_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_replication_controller_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_replication_controller_for_all_namespaces.rb index 41e7b5c9..5675dfe0 100755 --- a/tasks/swagger_k8s_list_core_v1_replication_controller_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_replication_controller_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_replication_controller_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_resource_quota_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_resource_quota_for_all_namespaces.rb index ffcf0ac6..4f9ed329 100755 --- a/tasks/swagger_k8s_list_core_v1_resource_quota_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_resource_quota_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_resource_quota_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_secret_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_secret_for_all_namespaces.rb index 313beacd..13bd51ec 100755 --- a/tasks/swagger_k8s_list_core_v1_secret_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_secret_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_secret_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_service_account_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_service_account_for_all_namespaces.rb index 12d42e42..93621e88 100755 --- a/tasks/swagger_k8s_list_core_v1_service_account_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_service_account_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_service_account_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_core_v1_service_for_all_namespaces.rb b/tasks/swagger_k8s_list_core_v1_service_for_all_namespaces.rb index 8573c1f9..e111e9cf 100755 --- a/tasks/swagger_k8s_list_core_v1_service_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_core_v1_service_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_core_v1_service_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_events_v1beta1_event_for_all_namespaces.rb b/tasks/swagger_k8s_list_events_v1beta1_event_for_all_namespaces.rb index a2a8114a..45180b3d 100755 --- a/tasks/swagger_k8s_list_events_v1beta1_event_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_events_v1beta1_event_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_events_v1beta1_event_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_extensions_v1beta1_daemon_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_extensions_v1beta1_daemon_set_for_all_namespaces.rb index 6d77dde8..6fc41e7d 100755 --- a/tasks/swagger_k8s_list_extensions_v1beta1_daemon_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_extensions_v1beta1_daemon_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_extensions_v1beta1_daemon_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_extensions_v1beta1_deployment_for_all_namespaces.rb b/tasks/swagger_k8s_list_extensions_v1beta1_deployment_for_all_namespaces.rb index 971ca667..2506fa00 100755 --- a/tasks/swagger_k8s_list_extensions_v1beta1_deployment_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_extensions_v1beta1_deployment_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_extensions_v1beta1_deployment_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_extensions_v1beta1_ingress_for_all_namespaces.rb b/tasks/swagger_k8s_list_extensions_v1beta1_ingress_for_all_namespaces.rb index 651f863d..b05516ee 100755 --- a/tasks/swagger_k8s_list_extensions_v1beta1_ingress_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_extensions_v1beta1_ingress_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_extensions_v1beta1_ingress_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_extensions_v1beta1_network_policy_for_all_namespaces.rb b/tasks/swagger_k8s_list_extensions_v1beta1_network_policy_for_all_namespaces.rb index b24ee0cf..e254fa64 100755 --- a/tasks/swagger_k8s_list_extensions_v1beta1_network_policy_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_extensions_v1beta1_network_policy_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_extensions_v1beta1_network_policy_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_extensions_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_list_extensions_v1beta1_pod_security_policy.rb index a38aa936..c43da07a 100755 --- a/tasks/swagger_k8s_list_extensions_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_list_extensions_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def list_extensions_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_extensions_v1beta1_replica_set_for_all_namespaces.rb b/tasks/swagger_k8s_list_extensions_v1beta1_replica_set_for_all_namespaces.rb index de830a3d..b745b246 100755 --- a/tasks/swagger_k8s_list_extensions_v1beta1_replica_set_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_extensions_v1beta1_replica_set_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_extensions_v1beta1_replica_set_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_networking_v1_network_policy_for_all_namespaces.rb b/tasks/swagger_k8s_list_networking_v1_network_policy_for_all_namespaces.rb index 1d4a94b2..3cd4a1aa 100755 --- a/tasks/swagger_k8s_list_networking_v1_network_policy_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_networking_v1_network_policy_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_networking_v1_network_policy_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_networking_v1beta1_ingress_for_all_namespaces.rb b/tasks/swagger_k8s_list_networking_v1beta1_ingress_for_all_namespaces.rb index a0a3760e..06c25586 100755 --- a/tasks/swagger_k8s_list_networking_v1beta1_ingress_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_networking_v1beta1_ingress_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_networking_v1beta1_ingress_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_node_v1alpha1_runtime_class.rb b/tasks/swagger_k8s_list_node_v1alpha1_runtime_class.rb index ef3b6bfb..e6830cf8 100755 --- a/tasks/swagger_k8s_list_node_v1alpha1_runtime_class.rb +++ b/tasks/swagger_k8s_list_node_v1alpha1_runtime_class.rb @@ -36,7 +36,7 @@ def list_node_v1alpha1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_node_v1beta1_runtime_class.rb b/tasks/swagger_k8s_list_node_v1beta1_runtime_class.rb index 1632384c..7c40bb67 100755 --- a/tasks/swagger_k8s_list_node_v1beta1_runtime_class.rb +++ b/tasks/swagger_k8s_list_node_v1beta1_runtime_class.rb @@ -36,7 +36,7 @@ def list_node_v1beta1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces.rb b/tasks/swagger_k8s_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces.rb index b15bc4cf..90c71330 100755 --- a/tasks/swagger_k8s_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_policy_v1beta1_pod_disruption_budget_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_policy_v1beta1_pod_disruption_budget_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_policy_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_list_policy_v1beta1_pod_security_policy.rb index c31b0d69..bb210a4e 100755 --- a/tasks/swagger_k8s_list_policy_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_list_policy_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def list_policy_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role.rb b/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role.rb index acd3ea55..b23f2a46 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role_binding.rb b/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role_binding.rb index 9920fa2d..f15098ad 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1_role_binding_for_all_namespaces.rb b/tasks/swagger_k8s_list_rbac_authorization_v1_role_binding_for_all_namespaces.rb index f2852c53..10c0e790 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1_role_binding_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1_role_binding_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1_role_binding_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1_role_for_all_namespaces.rb b/tasks/swagger_k8s_list_rbac_authorization_v1_role_for_all_namespaces.rb index dcb62c1f..43b7d52c 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1_role_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1_role_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1_role_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role.rb b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role.rb index 68c59b28..269f11bf 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1alpha1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role_binding.rb b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role_binding.rb index d4729997..01b3c02d 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1alpha1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces.rb b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces.rb index dbad1f4f..13b6cc5b 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1alpha1_role_binding_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_for_all_namespaces.rb b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_for_all_namespaces.rb index 27b699c4..66fa8c80 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1alpha1_role_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1alpha1_role_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role.rb b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role.rb index 0721cee8..fe2e61c9 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1beta1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role_binding.rb b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role_binding.rb index bc580402..0b3cf0da 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1beta1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces.rb b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces.rb index ac2f99ed..2668cb37 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_binding_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1beta1_role_binding_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_for_all_namespaces.rb b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_for_all_namespaces.rb index 8458fa2d..ffbc8570 100755 --- a/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_rbac_authorization_v1beta1_role_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_rbac_authorization_v1beta1_role_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_scheduling_v1_priority_class.rb b/tasks/swagger_k8s_list_scheduling_v1_priority_class.rb index 39c0edda..825ddcf6 100755 --- a/tasks/swagger_k8s_list_scheduling_v1_priority_class.rb +++ b/tasks/swagger_k8s_list_scheduling_v1_priority_class.rb @@ -36,7 +36,7 @@ def list_scheduling_v1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_scheduling_v1alpha1_priority_class.rb b/tasks/swagger_k8s_list_scheduling_v1alpha1_priority_class.rb index 7e5cec03..5f610d12 100755 --- a/tasks/swagger_k8s_list_scheduling_v1alpha1_priority_class.rb +++ b/tasks/swagger_k8s_list_scheduling_v1alpha1_priority_class.rb @@ -36,7 +36,7 @@ def list_scheduling_v1alpha1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_scheduling_v1beta1_priority_class.rb b/tasks/swagger_k8s_list_scheduling_v1beta1_priority_class.rb index 8801bf9b..68603269 100755 --- a/tasks/swagger_k8s_list_scheduling_v1beta1_priority_class.rb +++ b/tasks/swagger_k8s_list_scheduling_v1beta1_priority_class.rb @@ -36,7 +36,7 @@ def list_scheduling_v1beta1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_settings_v1alpha1_pod_preset_for_all_namespaces.rb b/tasks/swagger_k8s_list_settings_v1alpha1_pod_preset_for_all_namespaces.rb index 9137d491..8e582e9e 100755 --- a/tasks/swagger_k8s_list_settings_v1alpha1_pod_preset_for_all_namespaces.rb +++ b/tasks/swagger_k8s_list_settings_v1alpha1_pod_preset_for_all_namespaces.rb @@ -36,7 +36,7 @@ def list_settings_v1alpha1_pod_preset_for_all_namespaces(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_storage_v1_storage_class.rb b/tasks/swagger_k8s_list_storage_v1_storage_class.rb index 5cb6adeb..62502481 100755 --- a/tasks/swagger_k8s_list_storage_v1_storage_class.rb +++ b/tasks/swagger_k8s_list_storage_v1_storage_class.rb @@ -36,7 +36,7 @@ def list_storage_v1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_storage_v1_volume_attachment.rb b/tasks/swagger_k8s_list_storage_v1_volume_attachment.rb index 5a4671d8..0ff5b411 100755 --- a/tasks/swagger_k8s_list_storage_v1_volume_attachment.rb +++ b/tasks/swagger_k8s_list_storage_v1_volume_attachment.rb @@ -36,7 +36,7 @@ def list_storage_v1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_storage_v1alpha1_volume_attachment.rb b/tasks/swagger_k8s_list_storage_v1alpha1_volume_attachment.rb index 0259e730..c50e211a 100755 --- a/tasks/swagger_k8s_list_storage_v1alpha1_volume_attachment.rb +++ b/tasks/swagger_k8s_list_storage_v1alpha1_volume_attachment.rb @@ -36,7 +36,7 @@ def list_storage_v1alpha1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_storage_v1beta1_csi_driver.rb b/tasks/swagger_k8s_list_storage_v1beta1_csi_driver.rb index a5c0272b..cff86128 100755 --- a/tasks/swagger_k8s_list_storage_v1beta1_csi_driver.rb +++ b/tasks/swagger_k8s_list_storage_v1beta1_csi_driver.rb @@ -36,7 +36,7 @@ def list_storage_v1beta1_csi_driver(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_storage_v1beta1_csi_node.rb b/tasks/swagger_k8s_list_storage_v1beta1_csi_node.rb index 2b293796..6637baaf 100755 --- a/tasks/swagger_k8s_list_storage_v1beta1_csi_node.rb +++ b/tasks/swagger_k8s_list_storage_v1beta1_csi_node.rb @@ -36,7 +36,7 @@ def list_storage_v1beta1_csi_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_storage_v1beta1_storage_class.rb b/tasks/swagger_k8s_list_storage_v1beta1_storage_class.rb index 6da729ed..e35d2df1 100755 --- a/tasks/swagger_k8s_list_storage_v1beta1_storage_class.rb +++ b/tasks/swagger_k8s_list_storage_v1beta1_storage_class.rb @@ -36,7 +36,7 @@ def list_storage_v1beta1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_list_storage_v1beta1_volume_attachment.rb b/tasks/swagger_k8s_list_storage_v1beta1_volume_attachment.rb index f47e3fbe..f0be86d5 100755 --- a/tasks/swagger_k8s_list_storage_v1beta1_volume_attachment.rb +++ b/tasks/swagger_k8s_list_storage_v1beta1_volume_attachment.rb @@ -36,7 +36,7 @@ def list_storage_v1beta1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_admissionregistration_v1beta1_mutating_webhook_configuration.rb b/tasks/swagger_k8s_read_admissionregistration_v1beta1_mutating_webhook_configuration.rb index e865be83..f7f92fe1 100755 --- a/tasks/swagger_k8s_read_admissionregistration_v1beta1_mutating_webhook_configuration.rb +++ b/tasks/swagger_k8s_read_admissionregistration_v1beta1_mutating_webhook_configuration.rb @@ -36,7 +36,7 @@ def read_admissionregistration_v1beta1_mutating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_admissionregistration_v1beta1_validating_webhook_configuration.rb b/tasks/swagger_k8s_read_admissionregistration_v1beta1_validating_webhook_configuration.rb index 93a33837..652de247 100755 --- a/tasks/swagger_k8s_read_admissionregistration_v1beta1_validating_webhook_configuration.rb +++ b/tasks/swagger_k8s_read_admissionregistration_v1beta1_validating_webhook_configuration.rb @@ -36,7 +36,7 @@ def read_admissionregistration_v1beta1_validating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_core_v1_namespaced_service_account.rb b/tasks/swagger_k8s_read_core_v1_namespaced_service_account.rb index 5c0b5e47..861fb995 100755 --- a/tasks/swagger_k8s_read_core_v1_namespaced_service_account.rb +++ b/tasks/swagger_k8s_read_core_v1_namespaced_service_account.rb @@ -36,7 +36,7 @@ def read_core_v1_namespaced_service_account(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_rbac_authorization_v1_cluster_role_binding.rb b/tasks/swagger_k8s_read_rbac_authorization_v1_cluster_role_binding.rb index f402091d..84a76265 100755 --- a/tasks/swagger_k8s_read_rbac_authorization_v1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_read_rbac_authorization_v1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def read_rbac_authorization_v1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_rbac_authorization_v1_namespaced_role_binding.rb b/tasks/swagger_k8s_read_rbac_authorization_v1_namespaced_role_binding.rb index 0e39947d..8029ee63 100755 --- a/tasks/swagger_k8s_read_rbac_authorization_v1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_read_rbac_authorization_v1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def read_rbac_authorization_v1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_cluster_role_binding.rb b/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_cluster_role_binding.rb index e77a8188..54eb219d 100755 --- a/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def read_rbac_authorization_v1alpha1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_namespaced_role_binding.rb b/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_namespaced_role_binding.rb index 8360ce79..b3cb7ec8 100755 --- a/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_read_rbac_authorization_v1alpha1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def read_rbac_authorization_v1alpha1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_rbac_authorization_v1beta1_cluster_role_binding.rb b/tasks/swagger_k8s_read_rbac_authorization_v1beta1_cluster_role_binding.rb index 1870bb8f..6fbba3fe 100755 --- a/tasks/swagger_k8s_read_rbac_authorization_v1beta1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_read_rbac_authorization_v1beta1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def read_rbac_authorization_v1beta1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_read_rbac_authorization_v1beta1_namespaced_role_binding.rb b/tasks/swagger_k8s_read_rbac_authorization_v1beta1_namespaced_role_binding.rb index b56573b9..e53d66f1 100755 --- a/tasks/swagger_k8s_read_rbac_authorization_v1beta1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_read_rbac_authorization_v1beta1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def read_rbac_authorization_v1beta1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_admissionregistration_v1beta1_mutating_webhook_configuration.rb b/tasks/swagger_k8s_replace_admissionregistration_v1beta1_mutating_webhook_configuration.rb index eddb7187..5f7aa399 100755 --- a/tasks/swagger_k8s_replace_admissionregistration_v1beta1_mutating_webhook_configuration.rb +++ b/tasks/swagger_k8s_replace_admissionregistration_v1beta1_mutating_webhook_configuration.rb @@ -36,7 +36,7 @@ def replace_admissionregistration_v1beta1_mutating_webhook_configuration(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_admissionregistration_v1beta1_validating_webhook_configuration.rb b/tasks/swagger_k8s_replace_admissionregistration_v1beta1_validating_webhook_configuration.rb index 3d3b02c0..da2049c0 100755 --- a/tasks/swagger_k8s_replace_admissionregistration_v1beta1_validating_webhook_configuration.rb +++ b/tasks/swagger_k8s_replace_admissionregistration_v1beta1_validating_webhook_configuration.rb @@ -36,7 +36,7 @@ def replace_admissionregistration_v1beta1_validating_webhook_configuration(*args verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition.rb b/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition.rb index 85a17f8b..c4a19011 100755 --- a/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition.rb +++ b/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition.rb @@ -36,7 +36,7 @@ def replace_apiextensions_v1beta1_custom_resource_definition(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition_status.rb b/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition_status.rb index a10f4258..f533d382 100755 --- a/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition_status.rb +++ b/tasks/swagger_k8s_replace_apiextensions_v1beta1_custom_resource_definition_status.rb @@ -36,7 +36,7 @@ def replace_apiextensions_v1beta1_custom_resource_definition_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apiregistration_v1_api_service.rb b/tasks/swagger_k8s_replace_apiregistration_v1_api_service.rb index d81d62cb..43b71d43 100755 --- a/tasks/swagger_k8s_replace_apiregistration_v1_api_service.rb +++ b/tasks/swagger_k8s_replace_apiregistration_v1_api_service.rb @@ -36,7 +36,7 @@ def replace_apiregistration_v1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apiregistration_v1_api_service_status.rb b/tasks/swagger_k8s_replace_apiregistration_v1_api_service_status.rb index c90cd8e9..aa326e9d 100755 --- a/tasks/swagger_k8s_replace_apiregistration_v1_api_service_status.rb +++ b/tasks/swagger_k8s_replace_apiregistration_v1_api_service_status.rb @@ -36,7 +36,7 @@ def replace_apiregistration_v1_api_service_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service.rb b/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service.rb index 8fedffba..f4fe9ebf 100755 --- a/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service.rb +++ b/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service.rb @@ -36,7 +36,7 @@ def replace_apiregistration_v1beta1_api_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service_status.rb b/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service_status.rb index 28968ac4..290c4578 100755 --- a/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service_status.rb +++ b/tasks/swagger_k8s_replace_apiregistration_v1beta1_api_service_status.rb @@ -36,7 +36,7 @@ def replace_apiregistration_v1beta1_api_service_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_controller_revision.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_controller_revision.rb index 7f04560d..97299b67 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set.rb index c36b2129..7dde4084 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set_status.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set_status.rb index 35ee6f29..1c435a25 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_daemon_set_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_daemon_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment.rb index 6c0ee95c..ff12fa42 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_scale.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_scale.rb index 7c607bad..a008eac0 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_deployment_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_status.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_status.rb index 517edb6a..16b96d3b 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_deployment_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_deployment_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set.rb index ec309482..e00c623a 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_scale.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_scale.rb index d689b639..737cc0ea 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_replica_set_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_status.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_status.rb index 835fb6c4..e3484231 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_replica_set_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_replica_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set.rb index 57eec0d7..2cc5686d 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_scale.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_scale.rb index fb001ab1..38cd307d 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_stateful_set_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_status.rb b/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_status.rb index f48d1f9b..714bb473 100755 --- a/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1_namespaced_stateful_set_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1_namespaced_stateful_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_controller_revision.rb b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_controller_revision.rb index 79a6113b..235a98e7 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta1_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment.rb b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment.rb index dee16be2..215e9375 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_scale.rb b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_scale.rb index 073c8b8d..4a6b5eeb 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta1_namespaced_deployment_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_status.rb b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_status.rb index 69e927ba..19ccd5d0 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_deployment_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta1_namespaced_deployment_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set.rb b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set.rb index b4e4b0b8..54f5cacc 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta1_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_scale.rb b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_scale.rb index fbfb1f10..a2f3bf46 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta1_namespaced_stateful_set_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_status.rb b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_status.rb index e4c0d885..5afdeba6 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta1_namespaced_stateful_set_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta1_namespaced_stateful_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_controller_revision.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_controller_revision.rb index 5dbddf7d..00fd41c6 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_controller_revision.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_controller_revision.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_controller_revision(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set.rb index 7124b1d7..efe63837 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set_status.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set_status.rb index cb0b1b72..51f739e5 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_daemon_set_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_daemon_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment.rb index 40b26f84..4d950125 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_scale.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_scale.rb index 6d2429a6..313e18b9 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_deployment_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_status.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_status.rb index b3021d74..f849f389 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_deployment_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_deployment_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set.rb index 3a0b9e88..b4cba2be 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_scale.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_scale.rb index 778bc18d..36938720 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_replica_set_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_status.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_status.rb index 0ba45093..d2fa0eb9 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_replica_set_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_replica_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set.rb index b449d0aa..dc8febb7 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_stateful_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_scale.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_scale.rb index 2e2a5767..9752a184 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_scale.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_scale.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_stateful_set_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_status.rb b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_status.rb index c4dbdbe0..294d191e 100755 --- a/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_status.rb +++ b/tasks/swagger_k8s_replace_apps_v1beta2_namespaced_stateful_set_status.rb @@ -36,7 +36,7 @@ def replace_apps_v1beta2_namespaced_stateful_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_auditregistration_v1alpha1_audit_sink.rb b/tasks/swagger_k8s_replace_auditregistration_v1alpha1_audit_sink.rb index 9bcd42c3..0076ca04 100755 --- a/tasks/swagger_k8s_replace_auditregistration_v1alpha1_audit_sink.rb +++ b/tasks/swagger_k8s_replace_auditregistration_v1alpha1_audit_sink.rb @@ -36,7 +36,7 @@ def replace_auditregistration_v1alpha1_audit_sink(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb index 1e710161..a3c7eac6 100755 --- a/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status.rb b/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status.rb index 88c878dc..9975a513 100755 --- a/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status.rb +++ b/tasks/swagger_k8s_replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status.rb @@ -36,7 +36,7 @@ def replace_autoscaling_v1_namespaced_horizontal_pod_autoscaler_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb index 35094b43..e007135d 100755 --- a/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status.rb b/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status.rb index 9b107ce6..1ff539b3 100755 --- a/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status.rb +++ b/tasks/swagger_k8s_replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status.rb @@ -36,7 +36,7 @@ def replace_autoscaling_v2beta1_namespaced_horizontal_pod_autoscaler_status(*arg verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb b/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb index 71ae68d8..a72fb769 100755 --- a/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb +++ b/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler.rb @@ -36,7 +36,7 @@ def replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status.rb b/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status.rb index e30aa3c4..e342602f 100755 --- a/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status.rb +++ b/tasks/swagger_k8s_replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status.rb @@ -36,7 +36,7 @@ def replace_autoscaling_v2beta2_namespaced_horizontal_pod_autoscaler_status(*arg verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_batch_v1_namespaced_job.rb b/tasks/swagger_k8s_replace_batch_v1_namespaced_job.rb index e71ed92a..57bc3303 100755 --- a/tasks/swagger_k8s_replace_batch_v1_namespaced_job.rb +++ b/tasks/swagger_k8s_replace_batch_v1_namespaced_job.rb @@ -36,7 +36,7 @@ def replace_batch_v1_namespaced_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_batch_v1_namespaced_job_status.rb b/tasks/swagger_k8s_replace_batch_v1_namespaced_job_status.rb index 49fae210..759f2150 100755 --- a/tasks/swagger_k8s_replace_batch_v1_namespaced_job_status.rb +++ b/tasks/swagger_k8s_replace_batch_v1_namespaced_job_status.rb @@ -36,7 +36,7 @@ def replace_batch_v1_namespaced_job_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job.rb b/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job.rb index 22b052dd..66889a04 100755 --- a/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def replace_batch_v1beta1_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job_status.rb b/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job_status.rb index ece0495b..dd77a24d 100755 --- a/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job_status.rb +++ b/tasks/swagger_k8s_replace_batch_v1beta1_namespaced_cron_job_status.rb @@ -36,7 +36,7 @@ def replace_batch_v1beta1_namespaced_cron_job_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job.rb b/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job.rb index 9eb21a7e..fd39ed2d 100755 --- a/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job.rb +++ b/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job.rb @@ -36,7 +36,7 @@ def replace_batch_v2alpha1_namespaced_cron_job(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job_status.rb b/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job_status.rb index 1ff3453c..30b21a1e 100755 --- a/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job_status.rb +++ b/tasks/swagger_k8s_replace_batch_v2alpha1_namespaced_cron_job_status.rb @@ -36,7 +36,7 @@ def replace_batch_v2alpha1_namespaced_cron_job_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request.rb b/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request.rb index 951ea046..c1c95537 100755 --- a/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request.rb +++ b/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request.rb @@ -36,7 +36,7 @@ def replace_certificates_v1beta1_certificate_signing_request(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_approval.rb b/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_approval.rb index 59a61b4c..d1ec65cc 100755 --- a/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_approval.rb +++ b/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_approval.rb @@ -36,7 +36,7 @@ def replace_certificates_v1beta1_certificate_signing_request_approval(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_status.rb b/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_status.rb index c248c618..894445f1 100755 --- a/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_status.rb +++ b/tasks/swagger_k8s_replace_certificates_v1beta1_certificate_signing_request_status.rb @@ -36,7 +36,7 @@ def replace_certificates_v1beta1_certificate_signing_request_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_coordination_v1_namespaced_lease.rb b/tasks/swagger_k8s_replace_coordination_v1_namespaced_lease.rb index a5b04562..e6200992 100755 --- a/tasks/swagger_k8s_replace_coordination_v1_namespaced_lease.rb +++ b/tasks/swagger_k8s_replace_coordination_v1_namespaced_lease.rb @@ -36,7 +36,7 @@ def replace_coordination_v1_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_coordination_v1beta1_namespaced_lease.rb b/tasks/swagger_k8s_replace_coordination_v1beta1_namespaced_lease.rb index 901da531..eb82e3a7 100755 --- a/tasks/swagger_k8s_replace_coordination_v1beta1_namespaced_lease.rb +++ b/tasks/swagger_k8s_replace_coordination_v1beta1_namespaced_lease.rb @@ -36,7 +36,7 @@ def replace_coordination_v1beta1_namespaced_lease(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespace.rb b/tasks/swagger_k8s_replace_core_v1_namespace.rb index 4abf7be8..c12696b3 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespace.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespace.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespace(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespace_finalize.rb b/tasks/swagger_k8s_replace_core_v1_namespace_finalize.rb index 5a136d8e..35f63e35 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespace_finalize.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespace_finalize.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespace_finalize(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespace_status.rb b/tasks/swagger_k8s_replace_core_v1_namespace_status.rb index 425388fc..e2c089b8 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespace_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespace_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespace_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_config_map.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_config_map.rb index 247c757a..0dd63ce0 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_config_map.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_config_map.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_config_map(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_endpoints.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_endpoints.rb index ea089f28..04918c60 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_endpoints.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_endpoints.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_endpoints(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_event.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_event.rb index 2e0a06a6..53f51b05 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_event.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_event.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_limit_range.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_limit_range.rb index fc9bbe6b..d7afc091 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_limit_range.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_limit_range.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_limit_range(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim.rb index e317e5b4..a7f05018 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_persistent_volume_claim(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim_status.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim_status.rb index 57b36cd5..873d3ef9 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_persistent_volume_claim_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_persistent_volume_claim_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_pod.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_pod.rb index 0a788d6f..22392069 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_pod.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_pod.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_pod(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_pod_status.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_pod_status.rb index 022cdd63..19dde1b8 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_pod_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_pod_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_pod_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_pod_template.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_pod_template.rb index 2da52662..a4e056bd 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_pod_template.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_pod_template.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_pod_template(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller.rb index 2bfaee28..61d56597 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_replication_controller(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_scale.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_scale.rb index 31d4fa7c..0d7f2df0 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_scale.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_scale.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_replication_controller_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_status.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_status.rb index 8f41cc84..8f5fad20 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_replication_controller_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_replication_controller_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota.rb index 53252cf8..0dc3322e 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_resource_quota(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota_status.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota_status.rb index 907699aa..f69a0304 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_resource_quota_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_resource_quota_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_secret.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_secret.rb index ab4c0db1..fb8d7a7f 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_secret.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_secret.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_secret(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_service.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_service.rb index b5f02daf..948437fa 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_service.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_service.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_service(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_service_account.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_service_account.rb index b9c05464..d33d7397 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_service_account.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_service_account.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_service_account(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_namespaced_service_status.rb b/tasks/swagger_k8s_replace_core_v1_namespaced_service_status.rb index 0d8475f8..15ab44cb 100755 --- a/tasks/swagger_k8s_replace_core_v1_namespaced_service_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_namespaced_service_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_namespaced_service_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_node.rb b/tasks/swagger_k8s_replace_core_v1_node.rb index 5feebbaf..e0b5b68e 100755 --- a/tasks/swagger_k8s_replace_core_v1_node.rb +++ b/tasks/swagger_k8s_replace_core_v1_node.rb @@ -36,7 +36,7 @@ def replace_core_v1_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_node_status.rb b/tasks/swagger_k8s_replace_core_v1_node_status.rb index 4d087642..19cc6622 100755 --- a/tasks/swagger_k8s_replace_core_v1_node_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_node_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_node_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_persistent_volume.rb b/tasks/swagger_k8s_replace_core_v1_persistent_volume.rb index 0a4196be..2f962ba6 100755 --- a/tasks/swagger_k8s_replace_core_v1_persistent_volume.rb +++ b/tasks/swagger_k8s_replace_core_v1_persistent_volume.rb @@ -36,7 +36,7 @@ def replace_core_v1_persistent_volume(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_core_v1_persistent_volume_status.rb b/tasks/swagger_k8s_replace_core_v1_persistent_volume_status.rb index 0a602598..71f412d0 100755 --- a/tasks/swagger_k8s_replace_core_v1_persistent_volume_status.rb +++ b/tasks/swagger_k8s_replace_core_v1_persistent_volume_status.rb @@ -36,7 +36,7 @@ def replace_core_v1_persistent_volume_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_events_v1beta1_namespaced_event.rb b/tasks/swagger_k8s_replace_events_v1beta1_namespaced_event.rb index cb1b268d..b17df2ba 100755 --- a/tasks/swagger_k8s_replace_events_v1beta1_namespaced_event.rb +++ b/tasks/swagger_k8s_replace_events_v1beta1_namespaced_event.rb @@ -36,7 +36,7 @@ def replace_events_v1beta1_namespaced_event(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set.rb index 5003e561..914ad52b 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_daemon_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set_status.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set_status.rb index 33f74138..dd3ced08 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set_status.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_daemon_set_status.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_daemon_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment.rb index 78985db9..361fac0d 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_deployment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_scale.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_scale.rb index fbcd8252..e505df77 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_scale.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_scale.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_deployment_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_status.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_status.rb index bc81b65a..3e16361c 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_status.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_deployment_status.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_deployment_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress.rb index 90e62a22..faa8fda1 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress_status.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress_status.rb index 36bc0367..9eafe2d4 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress_status.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_ingress_status.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_ingress_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_network_policy.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_network_policy.rb index c96d2c28..7c9695e3 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set.rb index cad8c33e..0f41afc0 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_replica_set(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_scale.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_scale.rb index d0aaaacb..a19d4ea1 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_scale.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_scale.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_replica_set_scale(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_status.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_status.rb index f2da344b..e61d93d3 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_status.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replica_set_status.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_replica_set_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale.rb index 43acc941..8382d6f4 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_namespaced_replication_controller_dummy_scale(*ar verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_extensions_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_replace_extensions_v1beta1_pod_security_policy.rb index 74b05f35..a11416d0 100755 --- a/tasks/swagger_k8s_replace_extensions_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_replace_extensions_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def replace_extensions_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_networking_v1_namespaced_network_policy.rb b/tasks/swagger_k8s_replace_networking_v1_namespaced_network_policy.rb index de72444d..9177b5d4 100755 --- a/tasks/swagger_k8s_replace_networking_v1_namespaced_network_policy.rb +++ b/tasks/swagger_k8s_replace_networking_v1_namespaced_network_policy.rb @@ -36,7 +36,7 @@ def replace_networking_v1_namespaced_network_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress.rb b/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress.rb index 6bee9ac2..3f372ee3 100755 --- a/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress.rb +++ b/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress.rb @@ -36,7 +36,7 @@ def replace_networking_v1beta1_namespaced_ingress(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress_status.rb b/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress_status.rb index 151121be..160d9259 100755 --- a/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress_status.rb +++ b/tasks/swagger_k8s_replace_networking_v1beta1_namespaced_ingress_status.rb @@ -36,7 +36,7 @@ def replace_networking_v1beta1_namespaced_ingress_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_node_v1alpha1_runtime_class.rb b/tasks/swagger_k8s_replace_node_v1alpha1_runtime_class.rb index 086f3533..bfb0b7bb 100755 --- a/tasks/swagger_k8s_replace_node_v1alpha1_runtime_class.rb +++ b/tasks/swagger_k8s_replace_node_v1alpha1_runtime_class.rb @@ -36,7 +36,7 @@ def replace_node_v1alpha1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_node_v1beta1_runtime_class.rb b/tasks/swagger_k8s_replace_node_v1beta1_runtime_class.rb index 1e040951..a1a0730c 100755 --- a/tasks/swagger_k8s_replace_node_v1beta1_runtime_class.rb +++ b/tasks/swagger_k8s_replace_node_v1beta1_runtime_class.rb @@ -36,7 +36,7 @@ def replace_node_v1beta1_runtime_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget.rb b/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget.rb index 1da9371a..57f931d8 100755 --- a/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget.rb +++ b/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget.rb @@ -36,7 +36,7 @@ def replace_policy_v1beta1_namespaced_pod_disruption_budget(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget_status.rb b/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget_status.rb index 6adf6f94..c6a0b1c5 100755 --- a/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget_status.rb +++ b/tasks/swagger_k8s_replace_policy_v1beta1_namespaced_pod_disruption_budget_status.rb @@ -36,7 +36,7 @@ def replace_policy_v1beta1_namespaced_pod_disruption_budget_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_policy_v1beta1_pod_security_policy.rb b/tasks/swagger_k8s_replace_policy_v1beta1_pod_security_policy.rb index 82c299d1..c22ffeb2 100755 --- a/tasks/swagger_k8s_replace_policy_v1beta1_pod_security_policy.rb +++ b/tasks/swagger_k8s_replace_policy_v1beta1_pod_security_policy.rb @@ -36,7 +36,7 @@ def replace_policy_v1beta1_pod_security_policy(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role.rb index 04fba792..59752739 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role_binding.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role_binding.rb index 1d7333bf..02b7f662 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role.rb index 6b7b3109..3a4d5d95 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role_binding.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role_binding.rb index d36a6c7f..633e38c8 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role.rb index 0a99ebc3..64d5ec37 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1alpha1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role_binding.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role_binding.rb index 6087741f..963354cc 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1alpha1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role.rb index c5bba56e..fb6306e6 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1alpha1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role_binding.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role_binding.rb index 2a3c8511..e4f2f79c 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1alpha1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1alpha1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role.rb index f9444db6..bfae80f6 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1beta1_cluster_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role_binding.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role_binding.rb index 3310a045..294544e5 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role_binding.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_cluster_role_binding.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1beta1_cluster_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role.rb index 86c6f080..d1a413eb 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1beta1_namespaced_role(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role_binding.rb b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role_binding.rb index c14d0efc..0d7b1d35 100755 --- a/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role_binding.rb +++ b/tasks/swagger_k8s_replace_rbac_authorization_v1beta1_namespaced_role_binding.rb @@ -36,7 +36,7 @@ def replace_rbac_authorization_v1beta1_namespaced_role_binding(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_scheduling_v1_priority_class.rb b/tasks/swagger_k8s_replace_scheduling_v1_priority_class.rb index 1975c915..edd6ed35 100755 --- a/tasks/swagger_k8s_replace_scheduling_v1_priority_class.rb +++ b/tasks/swagger_k8s_replace_scheduling_v1_priority_class.rb @@ -36,7 +36,7 @@ def replace_scheduling_v1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_scheduling_v1alpha1_priority_class.rb b/tasks/swagger_k8s_replace_scheduling_v1alpha1_priority_class.rb index 84cfcf5a..73253beb 100755 --- a/tasks/swagger_k8s_replace_scheduling_v1alpha1_priority_class.rb +++ b/tasks/swagger_k8s_replace_scheduling_v1alpha1_priority_class.rb @@ -36,7 +36,7 @@ def replace_scheduling_v1alpha1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_scheduling_v1beta1_priority_class.rb b/tasks/swagger_k8s_replace_scheduling_v1beta1_priority_class.rb index 9752d6aa..1ee9a364 100755 --- a/tasks/swagger_k8s_replace_scheduling_v1beta1_priority_class.rb +++ b/tasks/swagger_k8s_replace_scheduling_v1beta1_priority_class.rb @@ -36,7 +36,7 @@ def replace_scheduling_v1beta1_priority_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_settings_v1alpha1_namespaced_pod_preset.rb b/tasks/swagger_k8s_replace_settings_v1alpha1_namespaced_pod_preset.rb index 1270207a..234ee4d1 100755 --- a/tasks/swagger_k8s_replace_settings_v1alpha1_namespaced_pod_preset.rb +++ b/tasks/swagger_k8s_replace_settings_v1alpha1_namespaced_pod_preset.rb @@ -36,7 +36,7 @@ def replace_settings_v1alpha1_namespaced_pod_preset(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1_storage_class.rb b/tasks/swagger_k8s_replace_storage_v1_storage_class.rb index 959c7183..09fe1e4a 100755 --- a/tasks/swagger_k8s_replace_storage_v1_storage_class.rb +++ b/tasks/swagger_k8s_replace_storage_v1_storage_class.rb @@ -36,7 +36,7 @@ def replace_storage_v1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1_volume_attachment.rb b/tasks/swagger_k8s_replace_storage_v1_volume_attachment.rb index 5fde9db6..26958251 100755 --- a/tasks/swagger_k8s_replace_storage_v1_volume_attachment.rb +++ b/tasks/swagger_k8s_replace_storage_v1_volume_attachment.rb @@ -36,7 +36,7 @@ def replace_storage_v1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1_volume_attachment_status.rb b/tasks/swagger_k8s_replace_storage_v1_volume_attachment_status.rb index 0c56fa46..a820b200 100755 --- a/tasks/swagger_k8s_replace_storage_v1_volume_attachment_status.rb +++ b/tasks/swagger_k8s_replace_storage_v1_volume_attachment_status.rb @@ -36,7 +36,7 @@ def replace_storage_v1_volume_attachment_status(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1alpha1_volume_attachment.rb b/tasks/swagger_k8s_replace_storage_v1alpha1_volume_attachment.rb index e2e89a81..20233333 100755 --- a/tasks/swagger_k8s_replace_storage_v1alpha1_volume_attachment.rb +++ b/tasks/swagger_k8s_replace_storage_v1alpha1_volume_attachment.rb @@ -36,7 +36,7 @@ def replace_storage_v1alpha1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1beta1_csi_driver.rb b/tasks/swagger_k8s_replace_storage_v1beta1_csi_driver.rb index 2c8b8075..6a2b74cf 100755 --- a/tasks/swagger_k8s_replace_storage_v1beta1_csi_driver.rb +++ b/tasks/swagger_k8s_replace_storage_v1beta1_csi_driver.rb @@ -36,7 +36,7 @@ def replace_storage_v1beta1_csi_driver(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1beta1_csi_node.rb b/tasks/swagger_k8s_replace_storage_v1beta1_csi_node.rb index 5da6283f..2f6f7d6d 100755 --- a/tasks/swagger_k8s_replace_storage_v1beta1_csi_node.rb +++ b/tasks/swagger_k8s_replace_storage_v1beta1_csi_node.rb @@ -36,7 +36,7 @@ def replace_storage_v1beta1_csi_node(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1beta1_storage_class.rb b/tasks/swagger_k8s_replace_storage_v1beta1_storage_class.rb index b19dc695..2426ba33 100755 --- a/tasks/swagger_k8s_replace_storage_v1beta1_storage_class.rb +++ b/tasks/swagger_k8s_replace_storage_v1beta1_storage_class.rb @@ -36,7 +36,7 @@ def replace_storage_v1beta1_storage_class(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tasks/swagger_k8s_replace_storage_v1beta1_volume_attachment.rb b/tasks/swagger_k8s_replace_storage_v1beta1_volume_attachment.rb index 5890f531..70d017ab 100755 --- a/tasks/swagger_k8s_replace_storage_v1beta1_volume_attachment.rb +++ b/tasks/swagger_k8s_replace_storage_v1beta1_volume_attachment.rb @@ -36,7 +36,7 @@ def replace_storage_v1beta1_volume_attachment(*args) verify_mode = OpenSSL::SSL::VERIFY_NONE verify_mode = OpenSSL::SSL::VERIFY_PEER if arg_hash['ca_file'] - Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode: verify_mode, ca_file: arg_hash['ca_file']) do |http| + Net::HTTP.start(uri.host, uri.port, use_ssl: uri.scheme == 'https', verify_mode:, ca_file: arg_hash['ca_file']) do |http| case operation_verb when 'Get' req = Net::HTTP::Get.new(uri) @@ -76,7 +76,7 @@ def to_query(hash) end def op_param(name, inquery, paramalias, namesnake) - { name: name, location: inquery, paramalias: paramalias, namesnake: namesnake } + { name:, location: inquery, paramalias:, namesnake: } end def format_params(key_values) diff --git a/tooling/kube_tool.rb b/tooling/kube_tool.rb index 49faf19f..23dc9b6f 100755 --- a/tooling/kube_tool.rb +++ b/tooling/kube_tool.rb @@ -8,7 +8,7 @@ require_relative 'kube_tool/other_params' # Kube Tool -class Kube_tool +class KubeTool def self.parse_args opts = Slop.parse do |o| o.string '-o', '--os', 'The OS that Kubernetes will run on', default: ENV.fetch('OS', nil) @@ -59,4 +59,4 @@ def self.build_hiera(opts) CleanUp.clean_yaml(opts[:os]) end end -Kube_tool.build_hiera(Kube_tool.parse_args) +KubeTool.build_hiera(KubeTool.parse_args)